X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-powerpc%2Ftce.h;h=6fa200ad7a7f29813ae15d484b2dacaa1f7aa3ce;hb=a2308b7f0838406c346a2b0259ff88c7fcf41e79;hp=d099d5200f9bbb7ffea65a29535300289c7d84b9;hpb=759979ab17512a061c3a3e870f091af27ccdcbfb;p=linux-2.6 diff --git a/include/asm-powerpc/tce.h b/include/asm-powerpc/tce.h index d099d5200f..6fa200ad7a 100644 --- a/include/asm-powerpc/tce.h +++ b/include/asm-powerpc/tce.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2001 Mike Corrigan & Dave Engebretsen, IBM Corporation * Rewrite, cleanup: - * Copyright (C) 2004 Olof Johansson , IBM Corporation + * Copyright (C) 2004 Olof Johansson , IBM Corporation * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -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 */