patch-2.4.14 linux/include/asm-m68k/bitops.h

Next file: linux/include/asm-m68k/floppy.h
Previous file: linux/include/asm-m68k/atarihw.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.13/linux/include/asm-m68k/bitops.h linux/include/asm-m68k/bitops.h
@@ -45,6 +45,8 @@
    __constant_set_bit(nr, vaddr) : \
    __generic_set_bit(nr, vaddr))
 
+#define __set_bit(nr,vaddr) set_bit(nr,vaddr) 
+
 extern __inline__ void __constant_set_bit(int nr, volatile void * vaddr)
 {
 	__asm__ __volatile__ ("bset %1,%0"
@@ -61,6 +63,8 @@
   (__builtin_constant_p(nr) ? \
    __constant_test_and_clear_bit(nr, vaddr) : \
    __generic_test_and_clear_bit(nr, vaddr))
+
+#define __test_and_clear_bit(nr,vaddr) test_and_clear_bit(nr,vaddr)
 
 extern __inline__ int __constant_test_and_clear_bit(int nr, volatile void * vaddr)
 {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)