projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] powerpc: Save device BARs much earlier in the boot sequence
[powerpc.git]
/
include
/
asm-powerpc
/
tce.h
diff --git
a/include/asm-powerpc/tce.h
b/include/asm-powerpc/tce.h
index
980a094
..
6fa200a
100644
(file)
--- a/
include/asm-powerpc/tce.h
+++ b/
include/asm-powerpc/tce.h
@@
-20,6
+20,7
@@
#ifndef _ASM_POWERPC_TCE_H
#define _ASM_POWERPC_TCE_H
+#ifdef __KERNEL__
/*
* Tces come in two formats, one for the virtual bus and a different
@@
-61,4
+62,5
@@
union tce_entry {
};
+#endif /* __KERNEL__ */
#endif /* _ASM_POWERPC_TCE_H */