Skip to contentSkip to conversation

sparc: add include guards to kernel.h

PATCH Applied Sam Ravnborg 2 participants 2 messages Dec 7, 2008 – Dec 8, 2008 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore
#0 lore raw

PATCH 4/5 sparc: add include guards to kernel.h

---
 arch/sparc/kernel/kernel.h |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
arch/sparc/kernel/kernel.h +4 -1
index 3fa8338..48e7037 100644
@@ -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