File tree Expand file tree Collapse file tree 3 files changed +7
-17
lines changed Expand file tree Collapse file tree 3 files changed +7
-17
lines changed Original file line number Diff line number Diff line change @@ -396,18 +396,5 @@ long get_tagged_addr_ctrl(struct task_struct *task);
396
396
#define GET_TAGGED_ADDR_CTRL () get_tagged_addr_ctrl(current)
397
397
#endif
398
398
399
- /*
400
- * For CONFIG_GCC_PLUGIN_STACKLEAK
401
- *
402
- * These need to be macros because otherwise we get stuck in a nightmare
403
- * of header definitions for the use of task_stack_page.
404
- */
405
-
406
- /*
407
- * The top of the current task's task stack
408
- */
409
- #define current_top_of_stack () ((unsigned long)current->stack + THREAD_SIZE)
410
- #define on_thread_stack () (on_task_stack(current, current_stack_pointer, 1))
411
-
412
399
#endif /* __ASSEMBLY__ */
413
400
#endif /* __ASM_PROCESSOR_H */
Original file line number Diff line number Diff line change @@ -57,6 +57,8 @@ static inline bool on_task_stack(const struct task_struct *tsk,
57
57
return stackinfo_on_stack (& info , sp , size );
58
58
}
59
59
60
+ #define on_thread_stack () (on_task_stack(current, current_stack_pointer, 1))
61
+
60
62
#ifdef CONFIG_VMAP_STACK
61
63
DECLARE_PER_CPU (unsigned long [OVERFLOW_STACK_SIZE /sizeof (long )], overflow_stack );
62
64
Original file line number Diff line number Diff line change 10
10
* Copyright (C) 2012 ARM Ltd.
11
11
*/
12
12
13
- #include <linux/irq.h>
14
- #include <linux/memory.h>
15
- #include <linux/smp.h>
16
13
#include <linux/hardirq.h>
17
14
#include <linux/init.h>
15
+ #include <linux/irq.h>
18
16
#include <linux/irqchip.h>
19
17
#include <linux/kprobes.h>
18
+ #include <linux/memory.h>
20
19
#include <linux/scs.h>
21
20
#include <linux/seq_file.h>
21
+ #include <linux/smp.h>
22
22
#include <linux/vmalloc.h>
23
23
#include <asm/daifflags.h>
24
24
#include <asm/exception.h>
25
- #include <asm/vmap_stack.h>
26
25
#include <asm/softirq_stack.h>
26
+ #include <asm/stacktrace.h>
27
+ #include <asm/vmap_stack.h>
27
28
28
29
/* Only access this in an NMI enter/exit */
29
30
DEFINE_PER_CPU (struct nmi_ctx , nmi_contexts );
You can’t perform that action at this time.
0 commit comments