aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2008-12-08 04:07:47 -0500
committerDavid S. Miller <davem@davemloft.net>2008-12-08 04:07:47 -0500
commit7105de84f1cb5ef640bfe4b8b137837c346caab5 (patch)
treeaec564cbfda8d9fca72c5462dde2c0b2b412dad2
parent8d74e32a537e8dbb22a1d5e9005d11111dab979a (diff)
sparc: add include guards to kernel.h
Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--arch/sparc/kernel/kernel.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/sparc/kernel/kernel.h b/arch/sparc/kernel/kernel.h
index 3fa833843a00..48e703714baa 100644
--- a/arch/sparc/kernel/kernel.h
+++ b/arch/sparc/kernel/kernel.h
@@ -1,3 +1,5 @@
1#ifndef __SPARC_KERNEL_H
2#define __SPARC_KERNEL_H
1/* cpu.c */ 3/* cpu.c */
2extern const char *sparc_cpu_type; 4extern const char *sparc_cpu_type;
3extern const char *sparc_fpu_type; 5extern const char *sparc_fpu_type;
@@ -14,4 +16,5 @@ extern void handle_hw_divzero(struct pt_regs *regs, unsigned long pc,
14/* muldiv.c */ 16/* muldiv.c */
15extern int do_user_muldiv (struct pt_regs *, unsigned long); 17extern int do_user_muldiv (struct pt_regs *, unsigned long);
16#else /* CONFIG_SPARC32 */ 18#else /* CONFIG_SPARC32 */
17#endif 19#endif /* CONFIG_SPARC32 */
20#endif /* !(__SPARC_KERNEL_H) */