patch-2.1.110 linux/include/asm-sparc64/bitops.h
Next file: linux/include/linux/atalk.h
Previous file: linux/include/asm-sparc/bitops.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-sparc64/bitops.h
- Orig date:
Tue Jun 23 10:01:29 1998
diff -u --recursive --new-file v2.1.109/linux/include/asm-sparc64/bitops.h linux/include/asm-sparc64/bitops.h
@@ -186,6 +186,8 @@
return result;
}
+#ifdef __KERNEL__
+
/*
* ffs: find first bit set. This is defined the same way as
* the libc and compiler builtin ffs routines, therefore
@@ -232,6 +234,7 @@
#define hweight8(x) generic_hweight8(x)
#endif
+#endif /* __KERNEL__ */
/* find_next_zero_bit() finds the first zero bit in a bit string of length
* 'size' bits, starting the search at bit 'offset'. This is largely based
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov