patch-2.3.49 linux/include/asm-mips/bitops.h

Next file: linux/include/asm-mips/bootinfo.h
Previous file: linux/include/asm-m68k/socket.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.48/linux/include/asm-mips/bitops.h linux/include/asm-mips/bitops.h
@@ -54,13 +54,14 @@
 extern __inline__ int find_next_zero_bit (void * addr, int size, int offset);
 extern __inline__ unsigned long ffz(unsigned long word);
 
+#include <asm/mipsregs.h>
+
 #if defined(CONFIG_CPU_HAS_LLSC)
 
 /*
  * These functions for MIPS ISA > 1 are interrupt and SMP proof and
  * interrupt friendly
  */
-#include <asm/mipsregs.h>
 
 /*
  * The following functions will only work for the R4000!
@@ -144,8 +145,6 @@
 }
 
 #else /* MIPS I */
-
-#include <asm/mipsregs.h>
 
 extern __inline__ void set_bit(int nr, void * addr)
 {

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