diff options
Diffstat (limited to 'arch/sh/kernel/process_32.c')
-rw-r--r-- | arch/sh/kernel/process_32.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/sh/kernel/process_32.c b/arch/sh/kernel/process_32.c index 92d7740faab1..9fee977f176b 100644 --- a/arch/sh/kernel/process_32.c +++ b/arch/sh/kernel/process_32.c | |||
@@ -23,6 +23,7 @@ | |||
23 | #include <linux/tick.h> | 23 | #include <linux/tick.h> |
24 | #include <linux/reboot.h> | 24 | #include <linux/reboot.h> |
25 | #include <linux/fs.h> | 25 | #include <linux/fs.h> |
26 | #include <linux/ftrace.h> | ||
26 | #include <linux/preempt.h> | 27 | #include <linux/preempt.h> |
27 | #include <asm/uaccess.h> | 28 | #include <asm/uaccess.h> |
28 | #include <asm/mmu_context.h> | 29 | #include <asm/mmu_context.h> |
@@ -264,8 +265,8 @@ static void ubc_set_tracing(int asid, unsigned long pc) | |||
264 | * switch_to(x,y) should switch tasks from x to y. | 265 | * switch_to(x,y) should switch tasks from x to y. |
265 | * | 266 | * |
266 | */ | 267 | */ |
267 | struct task_struct *__switch_to(struct task_struct *prev, | 268 | __notrace_funcgraph struct task_struct * |
268 | struct task_struct *next) | 269 | __switch_to(struct task_struct *prev, struct task_struct *next) |
269 | { | 270 | { |
270 | #if defined(CONFIG_SH_FPU) | 271 | #if defined(CONFIG_SH_FPU) |
271 | unlazy_fpu(prev, task_pt_regs(prev)); | 272 | unlazy_fpu(prev, task_pt_regs(prev)); |