patch-2.4.22 linux-2.4.22/include/asm-arm/proc-armo/locks.h
Next file: linux-2.4.22/include/asm-arm/proc-armo/processor.h
Previous file: linux-2.4.22/include/asm-arm/pgtable.h
Back to the patch index
Back to the overall index
- Lines: 54
- Date:
2003-08-25 04:44:43.000000000 -0700
- Orig file:
linux-2.4.21/include/asm-arm/proc-armo/locks.h
- Orig date:
2000-09-18 15:15:24.000000000 -0700
diff -urN linux-2.4.21/include/asm-arm/proc-armo/locks.h linux-2.4.22/include/asm-arm/proc-armo/locks.h
@@ -31,7 +31,7 @@
" blmi " SYMBOL_NAME_STR(fail) \
: \
: "r" (ptr) \
- : "ip", "lr", "cc"); \
+ : "ip", "lr", "cc", "memory"); \
})
#define __down_op_ret(ptr,fail) \
@@ -54,7 +54,7 @@
" mov %0, ip" \
: "=&r" (result) \
: "r" (ptr) \
- : "ip", "lr", "cc"); \
+ : "ip", "lr", "cc", "memory"); \
result; \
})
@@ -75,7 +75,7 @@
" blmi " SYMBOL_NAME_STR(wake) \
: \
: "r" (ptr) \
- : "ip", "lr", "cc"); \
+ : "ip", "lr", "cc", "memory"); \
})
/*
@@ -107,7 +107,7 @@
" blne " SYMBOL_NAME_STR(fail) \
: \
: "r" (ptr), "I" (RW_LOCK_BIAS) \
- : "ip", "lr", "cc"); \
+ : "ip", "lr", "cc", "memory"); \
})
/* Increments by RW_LOCK_BIAS, wakes if value >= 0 */
@@ -130,7 +130,7 @@
" blcs " SYMBOL_NAME_STR(wake) \
: \
: "r" (ptr), "I" (RW_LOCK_BIAS) \
- : "ip", "lr", "cc"); \
+ : "ip", "lr", "cc", "memory"); \
})
#define __down_op_read(ptr,fail) \
@@ -155,7 +155,7 @@
" bleq " SYMBOL_NAME_STR(wake) \
: \
: "r" (ptr), "I" (1) \
- : "ip", "lr", "cc"); \
+ : "ip", "lr", "cc", "memory"); \
})
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)