diff options
Diffstat (limited to 'arch/sparc/lib/usercopy.c')
-rw-r--r-- | arch/sparc/lib/usercopy.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/sparc/lib/usercopy.c b/arch/sparc/lib/usercopy.c index f61ed820cb61..0b12e91d6ccc 100644 --- a/arch/sparc/lib/usercopy.c +++ b/arch/sparc/lib/usercopy.c @@ -1,5 +1,6 @@ #include <linux/module.h> #include <linux/uaccess.h> +#include <linux/kernel.h> #include <linux/errno.h> #include <linux/bug.h> @@ -11,8 +12,6 @@ void copy_from_user_overflow(void) } EXPORT_SYMBOL(copy_from_user_overflow); -#define REPEAT_BYTE(x) ((~0ul / 0xff) * (x)) - static inline long find_zero(unsigned long mask) { long byte = 0; |