diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2009-04-28 14:17:54 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-05-14 13:50:28 +0100 |
commit | ef41f4600f05a4e973c3ac72869c18269567b319 (patch) | |
tree | d7fda711d4efb9aa9d639b7b62f96ff6eb98530f /arch/mips/include/asm/checksum.h | |
parent | 005076a16bd4c5ea60905ff475e8af57d60578f1 (diff) | |
download | blackbird-op-linux-ef41f4600f05a4e973c3ac72869c18269567b319.tar.gz blackbird-op-linux-ef41f4600f05a4e973c3ac72869c18269567b319.zip |
MIPS: uaccess: Switch lock annotations to might_fault().
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/checksum.h')
-rw-r--r-- | arch/mips/include/asm/checksum.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/include/asm/checksum.h b/arch/mips/include/asm/checksum.h index 290485ac5407..f2f7c6c264da 100644 --- a/arch/mips/include/asm/checksum.h +++ b/arch/mips/include/asm/checksum.h @@ -40,7 +40,7 @@ static inline __wsum csum_partial_copy_from_user(const void __user *src, void *dst, int len, __wsum sum, int *err_ptr) { - might_sleep(); + might_fault(); return __csum_partial_copy_user((__force void *)src, dst, len, sum, err_ptr); } @@ -53,7 +53,7 @@ static inline __wsum csum_and_copy_to_user(const void *src, void __user *dst, int len, __wsum sum, int *err_ptr) { - might_sleep(); + might_fault(); if (access_ok(VERIFY_WRITE, dst, len)) return __csum_partial_copy_user(src, (__force void *)dst, len, sum, err_ptr); |