diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2007-05-15 01:41:29 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-15 08:54:00 -0700 |
commit | 3c46bdcaec53eda069a8a9cd60621c7431aa7842 (patch) | |
tree | 9e3463d9618af5be9195d4cbaef6d3a518ab9e26 /arch/m68k | |
parent | 0fcdf96ca95f81a0e1fd91a2de16dc67c641c958 (diff) | |
download | kernel-common-3c46bdcaec53eda069a8a9cd60621c7431aa7842.tar.gz kernel-common-3c46bdcaec53eda069a8a9cd60621c7431aa7842.tar.bz2 kernel-common-3c46bdcaec53eda069a8a9cd60621c7431aa7842.zip |
m68k: implement __clear_user()
m68k: implement __clear_user(), which is needed by fs/signalfd.c
Since we always let the MMU do all checking, clear_user() and __clear_user()
are identical. The old clear_user() is renamed to __clear_user() for
consistency.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Davide Libenzi <davidel@xmailserver.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/m68k')
-rw-r--r-- | arch/m68k/lib/uaccess.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/m68k/lib/uaccess.c b/arch/m68k/lib/uaccess.c index 865f9fb9e686..13854ed8cd9a 100644 --- a/arch/m68k/lib/uaccess.c +++ b/arch/m68k/lib/uaccess.c @@ -181,7 +181,7 @@ EXPORT_SYMBOL(strnlen_user); * Zero Userspace */ -unsigned long clear_user(void __user *to, unsigned long n) +unsigned long __clear_user(void __user *to, unsigned long n) { unsigned long res; @@ -219,4 +219,4 @@ unsigned long clear_user(void __user *to, unsigned long n) return res; } -EXPORT_SYMBOL(clear_user); +EXPORT_SYMBOL(__clear_user); |