diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2014-05-16 23:26:07 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-19 04:01:34 +0200 |
commit | 59dec13b2736117c35e2432fc6e241263f7b4a9b (patch) | |
tree | 15cec365a2c6c6268151777bdebad48d0c56abda /arch/sparc/kernel | |
parent | sparc64: fix sparse warnings in aes_glue.c (diff) | |
download | linux-59dec13b2736117c35e2432fc6e241263f7b4a9b.tar.xz linux-59dec13b2736117c35e2432fc6e241263f7b4a9b.zip |
sparc64: fix sparse warnings in init_64.c
Fix following warnings:
init_64.c:191:10: warning: symbol 'dcpage_flushes' was not declared. Should it be static?
init_64.c:193:10: warning: symbol 'dcpage_flushes_xcall' was not declared. Should it be static?
Add extern declaration to asm/setup.h and drop local declaration in smp_64.h
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel')
-rw-r--r-- | arch/sparc/kernel/smp_64.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/sparc/kernel/smp_64.c b/arch/sparc/kernel/smp_64.c index afc71bf719b1..61605b38019c 100644 --- a/arch/sparc/kernel/smp_64.c +++ b/arch/sparc/kernel/smp_64.c @@ -36,6 +36,7 @@ #include <asm/hvtramp.h> #include <asm/io.h> #include <asm/timer.h> +#include <asm/setup.h> #include <asm/irq.h> #include <asm/irq_regs.h> @@ -861,11 +862,6 @@ extern unsigned long xcall_flush_dcache_page_cheetah; #endif extern unsigned long xcall_flush_dcache_page_spitfire; -#ifdef CONFIG_DEBUG_DCFLUSH -extern atomic_t dcpage_flushes; -extern atomic_t dcpage_flushes_xcall; -#endif - static inline void __local_flush_dcache_page(struct page *page) { #ifdef DCACHE_ALIASING_POSSIBLE |