diff options
Diffstat (limited to 'include/asm-generic/uaccess.h')
| -rw-r--r-- | include/asm-generic/uaccess.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-generic/uaccess.h b/include/asm-generic/uaccess.h index 9788568f7978..5f6ee6138f9a 100644 --- a/include/asm-generic/uaccess.h +++ b/include/asm-generic/uaccess.h | |||
| @@ -7,7 +7,6 @@ | |||
| 7 | * address space, e.g. all NOMMU machines. | 7 | * address space, e.g. all NOMMU machines. |
| 8 | */ | 8 | */ |
| 9 | #include <linux/sched.h> | 9 | #include <linux/sched.h> |
| 10 | #include <linux/mm.h> | ||
| 11 | #include <linux/string.h> | 10 | #include <linux/string.h> |
| 12 | 11 | ||
| 13 | #include <asm/segment.h> | 12 | #include <asm/segment.h> |
| @@ -32,7 +31,9 @@ static inline void set_fs(mm_segment_t fs) | |||
| 32 | } | 31 | } |
| 33 | #endif | 32 | #endif |
| 34 | 33 | ||
| 34 | #ifndef segment_eq | ||
| 35 | #define segment_eq(a, b) ((a).seg == (b).seg) | 35 | #define segment_eq(a, b) ((a).seg == (b).seg) |
| 36 | #endif | ||
| 36 | 37 | ||
| 37 | #define VERIFY_READ 0 | 38 | #define VERIFY_READ 0 |
| 38 | #define VERIFY_WRITE 1 | 39 | #define VERIFY_WRITE 1 |
