mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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 <[email protected]> Cc: Davide Libenzi <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
0fcdf96ca9
commit
3c46bdcaec
2 changed files with 5 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue