aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asm-sparc64/uaccess.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/include/asm-sparc64/uaccess.h b/include/asm-sparc64/uaccess.h
index 0c375a989be0..afe236ba555b 100644
--- a/include/asm-sparc64/uaccess.h
+++ b/include/asm-sparc64/uaccess.h
@@ -252,14 +252,7 @@ copy_in_user(void __user *to, void __user *from, unsigned long size)
252} 252}
253#define __copy_in_user copy_in_user 253#define __copy_in_user copy_in_user
254 254
255extern unsigned long __must_check __bzero_noasi(void __user *, unsigned long); 255extern unsigned long __must_check __clear_user(void __user *, unsigned long);
256
257static inline unsigned long __must_check
258__clear_user(void __user *addr, unsigned long size)
259{
260
261 return __bzero_noasi(addr, size);
262}
263 256
264#define clear_user __clear_user 257#define clear_user __clear_user
265 258