diff options
Diffstat (limited to 'include/asm-m68k/uaccess.h')
-rw-r--r-- | include/asm-m68k/uaccess.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/asm-m68k/uaccess.h b/include/asm-m68k/uaccess.h index a477bce01..aa1b4494f 100644 --- a/include/asm-m68k/uaccess.h +++ b/include/asm-m68k/uaccess.h @@ -184,7 +184,7 @@ __generic_copy_from_user(void *to, const void *from, unsigned long n) " .long 5b,9b\n" ".previous" : "=a"(to), "=a"(from), "=d"(n), "=&d"(tmp) - : "r"(n & 3), "0"(to), "1"(from), "2"(n/4) + : "d"(n & 3), "0"(to), "1"(from), "2"(n/4) : "d0", "memory"); return n; } @@ -233,7 +233,8 @@ __generic_copy_to_user(void *to, const void *from, unsigned long n) " .long 5b,8b\n" ".previous" : "=a"(to), "=a"(from), "=d"(n), "=&d"(tmp) - : "r"(n & 3), "0"(to), "1"(from), "2"(n / 4)); + : "r"(n & 3), "0"(to), "1"(from), "2"(n / 4) + : "memory"); return n; } @@ -514,7 +515,7 @@ __constant_copy_from_user(void *to, const void *from, unsigned long n) "13:" \ : "=a"(to), "=a"(from), "=d"(n) \ : "0"(to), "1"(from), "2"(n/4) \ - : "d0") + : "d0", "memory") static inline unsigned long __constant_copy_to_user(void *to, const void *from, unsigned long n) |