X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Fasm-powerpc%2Ftce.h;h=6fa200ad7a7f29813ae15d484b2dacaa1f7aa3ce;hb=8169b5d2384a0acd9ea3bb86bf5988cd7d62d03a;hp=980a094fd5a7201c488b26d577efa49f31e33dac;hpb=91f14480a55a7487d61c3fb40500380099e0da50;p=powerpc.git diff --git a/include/asm-powerpc/tce.h b/include/asm-powerpc/tce.h index 980a094fd5..6fa200ad7a 100644 --- 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 */