Commit 50387b3e authored by Adrian Bunk's avatar Adrian Bunk Committed by Paul Mundt

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 9bbafce2
(sh: Fix occasional FPU register corruption under preempt).
Signed-off-by: default avatarAdrian Bunk <adrian.bunk@movial.fi>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent a985aabe
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <asm/pgtable.h> #include <asm/pgtable.h>
#include <asm/mmu_context.h> #include <asm/mmu_context.h>
#include <asm/fpu.h>
struct task_struct *last_task_used_math = NULL; struct task_struct *last_task_used_math = NULL;
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
#include <asm/system.h> #include <asm/system.h>
#include <asm/processor.h> #include <asm/processor.h>
#include <asm/mmu_context.h> #include <asm/mmu_context.h>
#include <asm/fpu.h>
/* This mask defines the bits of the SR which the user is not allowed to /* This mask defines the bits of the SR which the user is not allowed to
change, which are everything except S, Q, M, PR, SZ, FR. */ change, which are everything except S, Q, M, PR, SZ, FR. */
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <asm/pgtable.h> #include <asm/pgtable.h>
#include <asm/cacheflush.h> #include <asm/cacheflush.h>
#include <asm/fpu.h>
#define REG_RET 9 #define REG_RET 9
#define REG_ARG1 2 #define REG_ARG1 2
......
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
#include <asm/atomic.h> #include <asm/atomic.h>
#include <asm/processor.h> #include <asm/processor.h>
#include <asm/pgtable.h> #include <asm/pgtable.h>
#include <asm/fpu.h>
#undef DEBUG_EXCEPTION #undef DEBUG_EXCEPTION
#ifdef DEBUG_EXCEPTION #ifdef DEBUG_EXCEPTION
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment