diff options
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 118dca7d5a28..18f52624eaa6 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -2617,6 +2617,8 @@ static inline unsigned long *end_of_stack(struct task_struct *p) | |||
2617 | } | 2617 | } |
2618 | 2618 | ||
2619 | #endif | 2619 | #endif |
2620 | #define task_stack_end_corrupted(task) \ | ||
2621 | (*(end_of_stack(task)) != STACK_END_MAGIC) | ||
2620 | 2622 | ||
2621 | static inline int object_is_on_stack(void *obj) | 2623 | static inline int object_is_on_stack(void *obj) |
2622 | { | 2624 | { |