patch-2.1.110 linux/include/asm-arm/bitops.h

Next file: linux/include/asm-arm/elf.h
Previous file: linux/include/asm-arm/arch-vnc/uncompress.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.109/linux/include/asm-arm/bitops.h linux/include/asm-arm/bitops.h
@@ -53,6 +53,8 @@
         return k;
 }
 
+#ifdef __KERNEL__
+
 /*
  * ffs: find first bit set. This is defined the same way as
  * the libc and compiler builtin ffs routines, therefore
@@ -70,6 +72,7 @@
 #define hweight16(x) generic_hweight16(x)
 #define hweight8(x) generic_hweight8(x)
 
+#endif /* __KERNEL__ */
 
 #ifdef __KERNEL__
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov