Commit 903d3abe authored by David S. Miller's avatar David S. Miller

[SPARC64]: Fix __bzero_noasi declaration.

parent 6d0830b2
...@@ -68,7 +68,6 @@ extern void die_if_kernel(char *str, struct pt_regs *regs); ...@@ -68,7 +68,6 @@ extern void die_if_kernel(char *str, struct pt_regs *regs);
extern pid_t kernel_thread(int (*fn)(void *), void * arg, unsigned long flags); extern pid_t kernel_thread(int (*fn)(void *), void * arg, unsigned long flags);
void _sigpause_common (unsigned int set, struct pt_regs *); void _sigpause_common (unsigned int set, struct pt_regs *);
extern void *__bzero(void *, size_t); extern void *__bzero(void *, size_t);
extern void *__bzero_noasi(void *, size_t);
extern void *__memscan_zero(void *, size_t); extern void *__memscan_zero(void *, size_t);
extern void *__memscan_generic(void *, int, size_t); extern void *__memscan_generic(void *, int, size_t);
extern int __memcmp(const void *, const void *, __kernel_size_t); extern int __memcmp(const void *, const void *, __kernel_size_t);
......
...@@ -263,9 +263,10 @@ extern unsigned long __copy_in_user(void __user *to, const void __user *from, ...@@ -263,9 +263,10 @@ extern unsigned long __copy_in_user(void __user *to, const void __user *from,
#define copy_to_user __copy_to_user #define copy_to_user __copy_to_user
#define copy_in_user __copy_in_user #define copy_in_user __copy_in_user
extern unsigned long __bzero_noasi(void *, unsigned long);
static inline unsigned long __clear_user(void __user *addr, unsigned long size) static inline unsigned long __clear_user(void __user *addr, unsigned long size)
{ {
extern unsigned long __bzero_noasi(void *addr, unsigned long size);
return __bzero_noasi((void *) addr, size); return __bzero_noasi((void *) addr, size);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment