lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1391781742-32250-1-git-send-email-linux@roeck-us.net>
Date:	Fri,  7 Feb 2014 06:02:22 -0800
From:	Guenter Roeck <linux@...ck-us.net>
To:	linux-c6x-dev@...ux-c6x.org
Cc:	linux-kernel@...r.kernel.org, Mark Salter <msalter@...hat.com>,
	Aurelien Jacquiot <a-jacquiot@...com>,
	Guenter Roeck <linux@...ck-us.net>,
	Joe Perches <joe@...ches.com>
Subject: [PATCH] c6x: Include init.h in asm/cache.h

arch/c6x/include/asm/cache.h uses __init and thus needs to include init.h.
This fixes the following c6x build error.

arch/c6x/include/asm/cache.h:63:20: error: expected '=', ',', ';',
'asm' or '__attribute__' before 'c6x_cache_init'
 extern void __init c6x_cache_init(void);

Problem was inadvertendly introduced with commit c28aa1f
(printk/cache: mark printk_once test variable __read_mostly).

Cc: Joe Perches <joe@...ches.com>
Signed-off-by: Guenter Roeck <linux@...ck-us.net>
---
 arch/c6x/include/asm/cache.h |    1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/c6x/include/asm/cache.h b/arch/c6x/include/asm/cache.h
index 09c5a0f..86648c0 100644
--- a/arch/c6x/include/asm/cache.h
+++ b/arch/c6x/include/asm/cache.h
@@ -12,6 +12,7 @@
 #define _ASM_C6X_CACHE_H
 
 #include <linux/irqflags.h>
+#include <linux/init.h>
 
 /*
  * Cache line size
-- 
1.7.9.7

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ