Commit 50387b3e11075fe798f5d44fa1b5491788a8742a

Authored by Adrian Bunk
Committed by Paul Mundt
1 parent a985aabe4d

sh64: add missing #include <asm/fpu.h>'s

This patch fixes some compile errors due to missing save_fpu()
prototypes on sh64 caused by
commit 9bbafce2eec190ef7e44b0eb1095ba17ce6ad3af
(sh: Fix occasional FPU register corruption under preempt).

Signed-off-by: Adrian Bunk <adrian.bunk@movial.fi>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>

Showing 4 changed files with 4 additions and 0 deletions Side-by-side Diff

arch/sh/kernel/process_64.c
... ... @@ -28,6 +28,7 @@
28 28 #include <asm/uaccess.h>
29 29 #include <asm/pgtable.h>
30 30 #include <asm/mmu_context.h>
  31 +#include <asm/fpu.h>
31 32  
32 33 struct task_struct *last_task_used_math = NULL;
33 34  
arch/sh/kernel/ptrace_64.c
... ... @@ -33,6 +33,7 @@
33 33 #include <asm/system.h>
34 34 #include <asm/processor.h>
35 35 #include <asm/mmu_context.h>
  36 +#include <asm/fpu.h>
36 37  
37 38 /* This mask defines the bits of the SR which the user is not allowed to
38 39 change, which are everything except S, Q, M, PR, SZ, FR. */
arch/sh/kernel/signal_64.c
... ... @@ -26,6 +26,7 @@
26 26 #include <asm/uaccess.h>
27 27 #include <asm/pgtable.h>
28 28 #include <asm/cacheflush.h>
  29 +#include <asm/fpu.h>
29 30  
30 31 #define REG_RET 9
31 32 #define REG_ARG1 2
arch/sh/kernel/traps_64.c
... ... @@ -30,6 +30,7 @@
30 30 #include <asm/atomic.h>
31 31 #include <asm/processor.h>
32 32 #include <asm/pgtable.h>
  33 +#include <asm/fpu.h>
33 34  
34 35 #undef DEBUG_EXCEPTION
35 36 #ifdef DEBUG_EXCEPTION