]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-powerpc/abs_addr.h
IB/mad: RMPP support for additional classes
[linux-2.6-omap-h63xx.git] / include / asm-powerpc / abs_addr.h
index 18415108fc56636b75a6459858a8f4106afa0494..c5c3259e0f86f3d147f9daf50719ea5e6311162c 100644 (file)
@@ -1,5 +1,6 @@
 #ifndef _ASM_POWERPC_ABS_ADDR_H
 #define _ASM_POWERPC_ABS_ADDR_H
+#ifdef __KERNEL__
 
 #include <linux/config.h>
 
@@ -70,4 +71,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 */