summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/setup_64.c
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2008-12-07 09:02:08 +0100
committerDavid S. Miller <davem@davemloft.net>2008-12-07 09:02:08 +0100
commit53ae341926b1238af3170f2f306f52a22430776c (patch)
tree6880ddd6b7e0e6bb317f05c1c2700c8f7ed0a445 /arch/sparc/kernel/setup_64.c
parentsparc: Always set AUDIT_ARCH, not just on sparc64. (diff)
downloadlinux-53ae341926b1238af3170f2f306f52a22430776c.tar.xz
linux-53ae341926b1238af3170f2f306f52a22430776c.zip
sparc: fix sparse warnings in cpu_*.c
o declare variables from cpu_*.c o declare function from cpu_32.c To do this introduce a new header "kernel.h" which is local to kernel/ Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/setup_64.c')
-rw-r--r--arch/sparc/kernel/setup_64.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/kernel/setup_64.c b/arch/sparc/kernel/setup_64.c
index c8b03a4f68bf..555db7452ebe 100644
--- a/arch/sparc/kernel/setup_64.c
+++ b/arch/sparc/kernel/setup_64.c
@@ -52,6 +52,7 @@
#endif
#include "entry.h"
+#include "kernel.h"
/* Used to synchronize accesses to NatSemi SUPER I/O chip configure
* operations in asm/ns87303.h