sparc: add include guards to kernel.h
PATCH 4/5 sparc: add include guards to kernel.h
Signed-off-by Sam Ravnborg <[email protected]>
--- arch/sparc/kernel/kernel.h | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)
arch/sparc/kernel/kernel.h +4 -1
@@ -1,3 +1,5 @@ +#ifndef __SPARC_KERNEL_H +#define __SPARC_KERNEL_H/* cpu.c */ extern const char *sparc_cpu_type;extern const char *sparc_fpu_type;
@@ -14,4 +16,5 @@ extern void handle_hw_divzero(struct pt_regs *regs, unsigned long pc,/* muldiv.c */ extern int do_user_muldiv (struct pt_regs *,unsigned long );#else /* CONFIG_SPARC32 */ -#endif +#endif /* CONFIG_SPARC32 */ +#endif /* !(__SPARC_KERNEL_H) */
Signature · 1 line
1.5.6.GIT
From: Sam Ravnborg <[email protected]>
Date: Sun, 7 Dec 2008 21:37:35 +0100
Quoted 1 line
Signed-off-by Sam Ravnborg <[email protected]>
Applied.