sh64: add missing #include <asm/fpu.h>'s
authorAdrian Bunk <adrian.bunk@movial.fi>
Sun, 13 Apr 2008 18:15:38 +0000 (21:15 +0300)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 15 Apr 2008 17:00:09 +0000 (02:00 +0900)
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>
arch/sh/kernel/process_64.c
arch/sh/kernel/ptrace_64.c
arch/sh/kernel/signal_64.c
arch/sh/kernel/traps_64.c

index 046999b1d1af11da3069748843e9d4d4257a2f74..0283d8133075b0507d04d5ca5417a3a6c1425017 100644 (file)
@@ -28,6 +28,7 @@
 #include <asm/uaccess.h>
 #include <asm/pgtable.h>
 #include <asm/mmu_context.h>
+#include <asm/fpu.h>
 
 struct task_struct *last_task_used_math = NULL;
 
index f6fbdfa6876d0a7463c748b31a8fb591b926c4a2..d453c47dc522176a75821903084b566ae7105dfc 100644 (file)
@@ -33,6 +33,7 @@
 #include <asm/system.h>
 #include <asm/processor.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
    change, which are everything except S, Q, M, PR, SZ, FR. */
index 80bde19d445be5bc2f2628b75502915e6990cc23..552eb810cd85e6c9199b5558d567f292eacbad20 100644 (file)
@@ -26,6 +26,7 @@
 #include <asm/uaccess.h>
 #include <asm/pgtable.h>
 #include <asm/cacheflush.h>
+#include <asm/fpu.h>
 
 #define REG_RET 9
 #define REG_ARG1 2
index 1b58a749908739d4a3224ee5eb7eef33bc51c565..a85831cbf18ba6524968f8c3e7dfa6a1bc6025d9 100644 (file)
@@ -30,6 +30,7 @@
 #include <asm/atomic.h>
 #include <asm/processor.h>
 #include <asm/pgtable.h>
+#include <asm/fpu.h>
 
 #undef DEBUG_EXCEPTION
 #ifdef DEBUG_EXCEPTION