sh: fix build with FPU disabled
PATCH 1/1 sh: fix build with FPU disabled
From: Magnus Damm <[email protected]>
This patch makes sure platforms lacking FPU build
Without this sh7722 fails to build.
Signed-off-by Magnus Damm <[email protected]>
---
arch/sh/kernel/process_32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/sh/kernel/process_32.c +1 -1
@@ -290,9 +290,9 @@ static void ubc_set_tracing(int asid, un __notrace_funcgraph struct task_struct *__switch_to (struct task_struct *prev,struct task_struct *next) { +#if defined(CONFIG_SH_FPU )struct thread_struct *next_t = &next->thread; -#if defined(CONFIG_SH_FPU )unlazy_fpu (prev,task_pt_regs (prev));/* we're going to use this soon, after a few expensive things */
Quoted 6 lines · Magnus Damm
From: Magnus Damm <[email protected]>
This patch makes sure platforms lacking FPU build
Without this sh7722 fails to build.Signed-off-by Magnus Damm <[email protected]>
This was fixed 8 days ago.
Quoted 9 lines · Paul Mundt
Quoted 6 lines · Magnus Damm
From: Magnus Damm <[email protected]>
This patch makes sure platforms lacking FPU build
Without this sh7722 fails to build.Signed-off-by Magnus Damm <[email protected]>This was fixed 8 days ago.
Ok, this is just me being confused moving back and forth due to the cache issues.
/ magnus