diff options
Diffstat (limited to 'arch/sparc/lib/user_fixup.c')
| -rw-r--r-- | arch/sparc/lib/user_fixup.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sparc/lib/user_fixup.c b/arch/sparc/lib/user_fixup.c index 05a361b0a1a4..ac96ae236709 100644 --- a/arch/sparc/lib/user_fixup.c +++ b/arch/sparc/lib/user_fixup.c | |||
| @@ -7,6 +7,8 @@ | |||
| 7 | #include <linux/kernel.h> | 7 | #include <linux/kernel.h> |
| 8 | #include <linux/string.h> | 8 | #include <linux/string.h> |
| 9 | #include <linux/errno.h> | 9 | #include <linux/errno.h> |
| 10 | #include <linux/module.h> | ||
| 11 | |||
| 10 | #include <asm/uaccess.h> | 12 | #include <asm/uaccess.h> |
| 11 | 13 | ||
| 12 | /* Calculating the exact fault address when using | 14 | /* Calculating the exact fault address when using |
| @@ -40,6 +42,7 @@ unsigned long copy_from_user_fixup(void *to, const void __user *from, unsigned l | |||
| 40 | 42 | ||
| 41 | return size; | 43 | return size; |
| 42 | } | 44 | } |
| 45 | EXPORT_SYMBOL(copy_from_user_fixup); | ||
| 43 | 46 | ||
| 44 | unsigned long copy_to_user_fixup(void __user *to, const void *from, unsigned long size) | 47 | unsigned long copy_to_user_fixup(void __user *to, const void *from, unsigned long size) |
| 45 | { | 48 | { |
| @@ -47,6 +50,7 @@ unsigned long copy_to_user_fixup(void __user *to, const void *from, unsigned lon | |||
| 47 | 50 | ||
| 48 | return compute_size((unsigned long) to, size, &offset); | 51 | return compute_size((unsigned long) to, size, &offset); |
| 49 | } | 52 | } |
| 53 | EXPORT_SYMBOL(copy_to_user_fixup); | ||
| 50 | 54 | ||
| 51 | unsigned long copy_in_user_fixup(void __user *to, void __user *from, unsigned long size) | 55 | unsigned long copy_in_user_fixup(void __user *to, void __user *from, unsigned long size) |
| 52 | { | 56 | { |
| @@ -64,3 +68,4 @@ unsigned long copy_in_user_fixup(void __user *to, void __user *from, unsigned lo | |||
| 64 | 68 | ||
| 65 | return size; | 69 | return size; |
| 66 | } | 70 | } |
| 71 | EXPORT_SYMBOL(copy_in_user_fixup); | ||
