patch-2.4.8 linux/include/asm-s390/uaccess.h
Next file: linux/include/asm-s390/vtoc.h
Previous file: linux/include/asm-s390/system.h
Back to the patch index
Back to the overall index
- Lines: 81
- Date:
Wed Jul 25 14:12:02 2001
- Orig file:
v2.4.7/linux/include/asm-s390/uaccess.h
- Orig date:
Wed Apr 11 19:02:28 2001
diff -u --recursive --new-file v2.4.7/linux/include/asm-s390/uaccess.h linux/include/asm-s390/uaccess.h
@@ -102,7 +102,7 @@
".previous"
: "=m" (*((__u32*) ptr)) , "=&d" (err)
: "d" (x), "K" (-EFAULT)
- : "4" );
+ : "cc", "4" );
return err;
}
@@ -130,7 +130,7 @@
".previous"
: "=m" (*((__u16*) ptr)) , "=&d" (err)
: "d" (x), "K" (-EFAULT)
- : "4" );
+ : "cc", "4" );
return err;
}
@@ -158,7 +158,7 @@
".previous"
: "=m" (*((__u8*) ptr)) , "=&d" (err)
: "d" (x), "K" (-EFAULT)
- : "4" );
+ : "cc", "4" );
return err;
}
@@ -223,7 +223,7 @@
".previous" \
: "=d" (x) , "=&d" (err) \
: "m" (*(const __u32*)(ptr)),"K" (-EFAULT) \
- : "4" ); \
+ : "cc", "4" ); \
})
#define __get_user_asm_2(x, ptr, err) \
@@ -248,7 +248,7 @@
".previous" \
: "=d" (x) , "=&d" (err) \
: "m" (*(const __u16*)(ptr)),"K" (-EFAULT) \
- : "4" ); \
+ : "cc", "4" ); \
})
#define __get_user_asm_1(x, ptr, err) \
@@ -274,7 +274,7 @@
".previous" \
: "=d" (x) , "=&d" (err) \
: "m" (*(const __u8*)(ptr)),"K" (-EFAULT) \
- : "4" ); \
+ : "cc", "4" ); \
})
#define __get_user(x, ptr) \
@@ -340,7 +340,7 @@
" .long 0b,__copy_to_user_fixup\n"
".previous"
: "+&d" (n) : "d" (to), "d" (from)
- : "2", "3", "4", "5" );
+ : "cc", "2", "3", "4", "5" );
return n;
}
@@ -378,7 +378,7 @@
" .long 0b,__copy_from_user_fixup\n"
".previous"
: "+&d" (n) : "d" (to), "d" (from)
- : "2", "3", "4", "5" );
+ : "cc", "2", "3", "4", "5" );
return n;
}
@@ -436,7 +436,7 @@
: "=&a" (len)
: "a" (dst), "d" (src), "d" (count),
"K" (-EFAULT)
- : "2", "3", "4", "memory" );
+ : "2", "3", "4", "memory", "cc" );
return len;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)