diff options
author | Robert Jennings <rcj@linux.vnet.ibm.com> | 2013-10-28 10:20:51 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-10-30 01:00:31 -0400 |
commit | b88c4767d9e2290aaa22b8b3702ad72af0ebd113 (patch) | |
tree | 0f585d25688ee4aecdd2bb77bda72773eaf245cc /arch/powerpc/kernel/module.c | |
parent | ec32dd663da29d0e2e3ca964d6a94c683a6582a9 (diff) |
powerpc: Move local setup.h declarations to arch includes
Move the few declarations from arch/powerpc/kernel/setup.h
into arch/powerpc/include/asm/setup.h. This resolves a
sparse warning for arch/powerpc/mm/numa.c which defines
do_init_bootmem() but can't include the setup.h header
in the prior path.
Resolves:
arch/powerpc/mm/numa.c:998:13:
warning: symbol 'do_init_bootmem' was not declared.
Should it be static?
Signed-off-by: Robert C Jennings <rcj@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/module.c')
-rw-r--r-- | arch/powerpc/kernel/module.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/module.c b/arch/powerpc/kernel/module.c index 2d275707f419..9547381b631a 100644 --- a/arch/powerpc/kernel/module.c +++ b/arch/powerpc/kernel/module.c | |||
@@ -25,8 +25,7 @@ | |||
25 | #include <asm/uaccess.h> | 25 | #include <asm/uaccess.h> |
26 | #include <asm/firmware.h> | 26 | #include <asm/firmware.h> |
27 | #include <linux/sort.h> | 27 | #include <linux/sort.h> |
28 | 28 | #include <asm/setup.h> | |
29 | #include "setup.h" | ||
30 | 29 | ||
31 | LIST_HEAD(module_bug_list); | 30 | LIST_HEAD(module_bug_list); |
32 | 31 | ||