patch-2.1.101 linux/include/asm-arm/proc-armo/uaccess.h
Next file: linux/include/asm-arm/proc-armv/pgtable.h
Previous file: linux/include/asm-arm/proc-armo/pgtable.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Fri May 8 00:42:40 1998
- Orig file:
v2.1.100/linux/include/asm-arm/proc-armo/uaccess.h
- Orig date:
Tue Jan 20 16:39:43 1998
diff -u --recursive --new-file v2.1.100/linux/include/asm-arm/proc-armo/uaccess.h linux/include/asm-arm/proc-armo/uaccess.h
@@ -33,7 +33,7 @@
#define __range_ok(addr,size) ({ \
unsigned long flag, sum; \
- __asm__ __volatile__("adds %1, %2, %3; cmpls %1, %0; movls %0, #0" \
+ __asm__ __volatile__("subs %1, %0, %3; cmpcs %1, %2; movcs %0, #0" \
: "=&r" (flag), "=&r" (sum) \
: "r" (addr), "Ir" (size), "0" (current->addr_limit) \
: "cc"); \
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov