提交 50387b3e 编写于 作者: A Adrian Bunk 提交者: 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: NAdrian Bunk <adrian.bunk@movial.fi>
Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册