patch-2.4.4 linux/include/asm-cris/bitops.h
Next file: linux/include/asm-cris/delay.h
Previous file: linux/include/asm-arm/xor.h
Back to the patch index
Back to the overall index
-  Lines: 23
-  Date:
Fri Apr  6 10:51:19 2001
-  Orig file: 
v2.4.3/linux/include/asm-cris/bitops.h
-  Orig date: 
Thu Feb  8 16:32:44 2001
diff -u --recursive --new-file v2.4.3/linux/include/asm-cris/bitops.h linux/include/asm-cris/bitops.h
@@ -1,9 +1,12 @@
-/* $Id: bitops.h,v 1.3 2000/10/17 14:56:27 bjornw Exp $ */
+/* $Id: bitops.h,v 1.4 2001/02/28 04:26:11 hp Exp $ */
 /* all of these should probably be rewritten in assembler for speed. */
 
 #ifndef _CRIS_BITOPS_H
 #define _CRIS_BITOPS_H
 
+/* Currently this is unsuitable for consumption outside the kernel.  */
+#ifdef __KERNEL__ 
+
 #include <asm/system.h>
 
 /*
@@ -163,8 +166,6 @@
 
 #define find_first_zero_bit(addr, size) \
         find_next_zero_bit((addr), (size), 0)
-
-#ifdef __KERNEL__ 
 
 #define ext2_set_bit                 test_and_set_bit
 #define ext2_clear_bit               test_and_clear_bit
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)