]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-powerpc/checksum.h
[PATCH] pgdat allocation and update for ia64 of memory hotplug: allocate pgdat and...
[linux-2.6-omap-h63xx.git] / include / asm-powerpc / checksum.h
index d8354d8a49ceab96ec9d64ee7f01caaf9e41c571..609ecbbd7210ee9935afce49da562f147fe8c75a 100644 (file)
@@ -1,5 +1,6 @@
 #ifndef _ASM_POWERPC_CHECKSUM_H
 #define _ASM_POWERPC_CHECKSUM_H
+#ifdef __KERNEL__
 
 /*
  * This program is free software; you can redistribute it and/or
@@ -129,4 +130,5 @@ static inline unsigned long csum_tcpudp_nofold(unsigned long saddr,
 }
 
 #endif
+#endif /* __KERNEL__ */
 #endif