Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 56392
b: refs/heads/master
c: 3c46bdc
h: refs/heads/master
v: v3
  • Loading branch information
Geert Uytterhoeven authored and Linus Torvalds committed May 15, 2007
1 parent a58d7ef commit e91f292
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0fcdf96ca95f81a0e1fd91a2de16dc67c641c958
refs/heads/master: 3c46bdcaec53eda069a8a9cd60621c7431aa7842
4 changes: 2 additions & 2 deletions trunk/arch/m68k/lib/uaccess.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -219,4 +219,4 @@ unsigned long clear_user(void __user *to, unsigned long n)

return res;
}
EXPORT_SYMBOL(clear_user);
EXPORT_SYMBOL(__clear_user);
4 changes: 3 additions & 1 deletion trunk/include/asm-m68k/uaccess.h
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,9 @@ __constant_copy_to_user(void __user *to, const void *from, unsigned long n)

long strncpy_from_user(char *dst, const char __user *src, long count);
long strnlen_user(const char __user *src, long n);
unsigned long clear_user(void __user *to, unsigned long n);
unsigned long __clear_user(void __user *to, unsigned long n);

#define clear_user __clear_user

#define strlen_user(str) strnlen_user(str, 32767)

Expand Down

0 comments on commit e91f292

Please sign in to comment.