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
/
rtas.h
diff --git
a/include/asm-powerpc/rtas.h
b/include/asm-powerpc/rtas.h
index
d1bb611
..
3428889
100644
(file)
--- a/
include/asm-powerpc/rtas.h
+++ b/
include/asm-powerpc/rtas.h
@@
-1,5
+1,6
@@
#ifndef _POWERPC_RTAS_H
#define _POWERPC_RTAS_H
+#ifdef __KERNEL__
#include <linux/spinlock.h>
#include <asm/page.h>
@@
-229,4
+230,5
@@
extern unsigned long rtas_rmo_buf;
#define GLOBAL_INTERRUPT_QUEUE 9005
+#endif /* __KERNEL__ */
#endif /* _POWERPC_RTAS_H */