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
[PATCH] powerpc: Remove duplicate code
[pandora-kernel.git]
/
include
/
asm-powerpc
/
bug.h
diff --git
a/include/asm-powerpc/bug.h
b/include/asm-powerpc/bug.h
index
b001ecb
..
99817a8
100644
(file)
--- a/
include/asm-powerpc/bug.h
+++ b/
include/asm-powerpc/bug.h
@@
-1,5
+1,6
@@
#ifndef _ASM_POWERPC_BUG_H
#define _ASM_POWERPC_BUG_H
+#ifdef __KERNEL__
#include <asm/asm-compat.h>
/*
@@
-67,4
+68,5
@@
struct bug_entry *find_bug(unsigned long bugaddr);
#include <asm-generic/bug.h>
+#endif /* __KERNEL__ */
#endif /* _ASM_POWERPC_BUG_H */