patch-2.1.110 linux/include/asm-alpha/bitops.h
Next file: linux/include/asm-alpha/cia.h
Previous file: linux/include/asm-alpha/apecs.h
Back to the patch index
Back to the overall index
-  Lines: 17
-  Date:
Mon Jul 20 17:23:32 1998
-  Orig file: 
v2.1.109/linux/include/asm-alpha/bitops.h
-  Orig date: 
Tue Jun 23 10:01:25 1998
diff -u --recursive --new-file v2.1.109/linux/include/asm-alpha/bitops.h linux/include/asm-alpha/bitops.h
@@ -182,6 +182,8 @@
 	return qofs*8 + bofs;
 }
 
+#ifdef __KERNEL__
+
 /*
  * ffs: find first bit set. This is defined the same way as
  * the libc and compiler builtin ffs routines, therefore
@@ -199,6 +201,7 @@
 #define hweight16(x) generic_hweight16(x)
 #define hweight8(x) generic_hweight8(x)
 
+#endif /* __KERNEL__ */
 
 /*
  * Find next zero bit in a bitmap reasonably efficiently..
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov