aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/kernel.h
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2008-12-08 04:04:59 -0500
committerDavid S. Miller <davem@davemloft.net>2008-12-08 04:04:59 -0500
commit8d74e32a537e8dbb22a1d5e9005d11111dab979a (patch)
tree0a5919ff70abb19060e707754f85a0875b3adb04 /arch/sparc/kernel/kernel.h
parent85bfbf44c37e403d4fcbcd630b3ca2377b156485 (diff)
sparc: fix sparse warnings in traps_32.c
o add decalrations to entry.h for functions only used from assembler o add declaratiosn to kernel.h for functions only used from .c o removed unused functions/extern declarations Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/kernel.h')
-rw-r--r--arch/sparc/kernel/kernel.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/sparc/kernel/kernel.h b/arch/sparc/kernel/kernel.h
index 7f02aad2e1ab..3fa833843a00 100644
--- a/arch/sparc/kernel/kernel.h
+++ b/arch/sparc/kernel/kernel.h
@@ -4,5 +4,14 @@ extern const char *sparc_fpu_type;
4 4
5extern unsigned int fsr_storage; 5extern unsigned int fsr_storage;
6 6
7#ifdef CONFIG_SPARC32
8/* cpu.c */
7extern void cpu_probe(void); 9extern void cpu_probe(void);
8 10
11/* traps_32.c */
12extern void handle_hw_divzero(struct pt_regs *regs, unsigned long pc,
13 unsigned long npc, unsigned long psr);
14/* muldiv.c */
15extern int do_user_muldiv (struct pt_regs *, unsigned long);
16#else /* CONFIG_SPARC32 */
17#endif