projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d74e32
)
sparc: add include guards to kernel.h
author
Sam Ravnborg
<sam@ravnborg.org>
Mon, 8 Dec 2008 09:07:47 +0000
(
01:07
-0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 8 Dec 2008 09:07:47 +0000
(
01:07
-0800)
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/kernel.h
patch
|
blob
|
history
diff --git
a/arch/sparc/kernel/kernel.h
b/arch/sparc/kernel/kernel.h
index 3fa833843a002c7a96d4be2d9ef3f39078d94a91..48e703714baa9a4e0848481369155639c2c8c86b 100644
(file)
--- a/
arch/sparc/kernel/kernel.h
+++ b/
arch/sparc/kernel/kernel.h
@@
-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) */