diff options
Diffstat (limited to 'mm/usercopy.c')
-rw-r--r-- | mm/usercopy.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/mm/usercopy.c b/mm/usercopy.c index d155e12563b1..1eba99baf1cf 100644 --- a/mm/usercopy.c +++ b/mm/usercopy.c | |||
@@ -19,15 +19,9 @@ | |||
19 | #include <linux/sched.h> | 19 | #include <linux/sched.h> |
20 | #include <linux/sched/task.h> | 20 | #include <linux/sched/task.h> |
21 | #include <linux/sched/task_stack.h> | 21 | #include <linux/sched/task_stack.h> |
22 | #include <linux/thread_info.h> | ||
22 | #include <asm/sections.h> | 23 | #include <asm/sections.h> |
23 | 24 | ||
24 | enum { | ||
25 | BAD_STACK = -1, | ||
26 | NOT_STACK = 0, | ||
27 | GOOD_FRAME, | ||
28 | GOOD_STACK, | ||
29 | }; | ||
30 | |||
31 | /* | 25 | /* |
32 | * Checks if a given pointer and length is contained by the current | 26 | * Checks if a given pointer and length is contained by the current |
33 | * stack frame (if possible). | 27 | * stack frame (if possible). |