git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Begin consolidation of of_device.h
[pandora-kernel.git]
/
include
/
asm-powerpc
/
sections.h
diff --git
a/include/asm-powerpc/sections.h
b/include/asm-powerpc/sections.h
index
47be2ac
..
916018e
100644
(file)
--- a/
include/asm-powerpc/sections.h
+++ b/
include/asm-powerpc/sections.h
@@
-1,5
+1,6
@@
#ifndef _ASM_POWERPC_SECTIONS_H
#define _ASM_POWERPC_SECTIONS_H
+#ifdef __KERNEL__
#include <asm-generic/sections.h>
@@
-17,4
+18,5
@@
static inline int in_kernel_text(unsigned long addr)
#endif
+#endif /* __KERNEL__ */
#endif /* _ASM_POWERPC_SECTIONS_H */