diff options
Diffstat (limited to 'arch/mn10300/include/asm/uaccess.h')
-rw-r--r-- | arch/mn10300/include/asm/uaccess.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/mn10300/include/asm/uaccess.h b/arch/mn10300/include/asm/uaccess.h index 197a7af3dd8a..679dee0bbd08 100644 --- a/arch/mn10300/include/asm/uaccess.h +++ b/arch/mn10300/include/asm/uaccess.h | |||
@@ -14,9 +14,8 @@ | |||
14 | /* | 14 | /* |
15 | * User space memory access functions | 15 | * User space memory access functions |
16 | */ | 16 | */ |
17 | #include <linux/sched.h> | 17 | #include <linux/thread_info.h> |
18 | #include <asm/page.h> | 18 | #include <asm/page.h> |
19 | #include <asm/pgtable.h> | ||
20 | #include <asm/errno.h> | 19 | #include <asm/errno.h> |
21 | 20 | ||
22 | #define VERIFY_READ 0 | 21 | #define VERIFY_READ 0 |
@@ -29,7 +28,6 @@ | |||
29 | * | 28 | * |
30 | * For historical reasons, these macros are grossly misnamed. | 29 | * For historical reasons, these macros are grossly misnamed. |
31 | */ | 30 | */ |
32 | |||
33 | #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) }) | 31 | #define MAKE_MM_SEG(s) ((mm_segment_t) { (s) }) |
34 | 32 | ||
35 | #define KERNEL_XDS MAKE_MM_SEG(0xBFFFFFFF) | 33 | #define KERNEL_XDS MAKE_MM_SEG(0xBFFFFFFF) |
@@ -377,7 +375,7 @@ unsigned long __generic_copy_to_user_nocheck(void *to, const void *from, | |||
377 | 375 | ||
378 | 376 | ||
379 | #if 0 | 377 | #if 0 |
380 | #error don't use - these macros don't increment to & from pointers | 378 | #error "don't use - these macros don't increment to & from pointers" |
381 | /* Optimize just a little bit when we know the size of the move. */ | 379 | /* Optimize just a little bit when we know the size of the move. */ |
382 | #define __constant_copy_user(to, from, size) \ | 380 | #define __constant_copy_user(to, from, size) \ |
383 | do { \ | 381 | do { \ |