X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-powerpc%2Ftce.h;h=6fa200ad7a7f29813ae15d484b2dacaa1f7aa3ce;hb=a2308b7f0838406c346a2b0259ff88c7fcf41e79;hp=980a094fd5a7201c488b26d577efa49f31e33dac;hpb=2226340eb8df9c42f9fca74582d08d5117fc0cec;p=linux-2.6 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 */