]> Pileus Git - ~andy/linux/blobdiff - include/asm-powerpc/lmb.h
[PATCH] TIF_RESTORE_SIGMASK support for arch/powerpc
[~andy/linux] / include / asm-powerpc / lmb.h
index ea0afe34354551a998adc2e3ae85ed1a25031ea2..d3546c4c9f46070e2c4ca3036fa96eb6a88abb0d 100644 (file)
@@ -1,5 +1,6 @@
 #ifndef _PPC64_LMB_H
 #define _PPC64_LMB_H
+#ifdef __KERNEL__
 
 /*
  * Definitions for talking to the Open Firmware PROM on
@@ -78,4 +79,5 @@ lmb_end_pfn(struct lmb_region *type, unsigned long region_nr)
               lmb_size_pages(type, region_nr);
 }
 
+#endif /* __KERNEL__ */
 #endif /* _PPC64_LMB_H */