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
/
kdebug.h
diff --git
a/include/asm-powerpc/kdebug.h
b/include/asm-powerpc/kdebug.h
index
9dcbac6
..
7c16265
100644
(file)
--- a/
include/asm-powerpc/kdebug.h
+++ b/
include/asm-powerpc/kdebug.h
@@
-1,5
+1,6
@@
#ifndef _ASM_POWERPC_KDEBUG_H
#define _ASM_POWERPC_KDEBUG_H
+#ifdef __KERNEL__
/* nearly identical to x86_64/i386 code */
@@
-39,4
+40,5
@@
static inline int notify_die(enum die_val val,char *str,struct pt_regs *regs,lon
return notifier_call_chain(&powerpc_die_chain, val, &args);
}
+#endif /* __KERNEL__ */
#endif /* _ASM_POWERPC_KDEBUG_H */