]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-powerpc/abs_addr.h
[POWERPC] Fix Oops with TQM5200 on TQM5200
[linux-2.6-omap-h63xx.git] / include / asm-powerpc / abs_addr.h
index 18415108fc56636b75a6459858a8f4106afa0494..4aa220718b19a09b00cd137ca384bc4a7fa9f292 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef _ASM_POWERPC_ABS_ADDR_H
 #define _ASM_POWERPC_ABS_ADDR_H
+#ifdef __KERNEL__
 
-#include <linux/config.h>
 
 /*
  * c 2001 PPC 64 Team, IBM Corp
@@ -70,4 +70,5 @@ static inline unsigned long phys_to_abs(unsigned long pa)
 #define iseries_hv_addr(virtaddr)      \
        (0x8000000000000000 | virt_to_abs(virtaddr))
 
+#endif /* __KERNEL__ */
 #endif /* _ASM_POWERPC_ABS_ADDR_H */