aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel
diff options
context:
space:
mode:
authorAdrian Bunk <adrian.bunk@movial.fi>2008-04-13 14:15:38 -0400
committerPaul Mundt <lethal@linux-sh.org>2008-04-15 13:00:09 -0400
commit50387b3e11075fe798f5d44fa1b5491788a8742a (patch)
tree3ec17587e6d10fe24ae5396d69493e513fc84070 /arch/sh/kernel
parenta985aabe4d7a720b109c2b63549f8641676a9c88 (diff)
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>
Diffstat (limited to 'arch/sh/kernel')
-rw-r--r--arch/sh/kernel/process_64.c1
-rw-r--r--arch/sh/kernel/ptrace_64.c1
-rw-r--r--arch/sh/kernel/signal_64.c1
-rw-r--r--arch/sh/kernel/traps_64.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/arch/sh/kernel/process_64.c b/arch/sh/kernel/process_64.c
index 046999b1d1af..0283d8133075 100644
--- a/arch/sh/kernel/process_64.c
+++ b/arch/sh/kernel/process_64.c
@@ -28,6 +28,7 @@
28#include <asm/uaccess.h> 28#include <asm/uaccess.h>
29#include <asm/pgtable.h> 29#include <asm/pgtable.h>
30#include <asm/mmu_context.h> 30#include <asm/mmu_context.h>
31#include <asm/fpu.h>
31 32
32struct task_struct *last_task_used_math = NULL; 33struct task_struct *last_task_used_math = NULL;
33 34
diff --git a/arch/sh/kernel/ptrace_64.c b/arch/sh/kernel/ptrace_64.c
index f6fbdfa6876d..d453c47dc522 100644
--- a/arch/sh/kernel/ptrace_64.c
+++ b/arch/sh/kernel/ptrace_64.c
@@ -33,6 +33,7 @@
33#include <asm/system.h> 33#include <asm/system.h>
34#include <asm/processor.h> 34#include <asm/processor.h>
35#include <asm/mmu_context.h> 35#include <asm/mmu_context.h>
36#include <asm/fpu.h>
36 37
37/* This mask defines the bits of the SR which the user is not allowed to 38/* This mask defines the bits of the SR which the user is not allowed to
38 change, which are everything except S, Q, M, PR, SZ, FR. */ 39 change, which are everything except S, Q, M, PR, SZ, FR. */
diff --git a/arch/sh/kernel/signal_64.c b/arch/sh/kernel/signal_64.c
index 80bde19d445b..552eb810cd85 100644
--- a/arch/sh/kernel/signal_64.c
+++ b/arch/sh/kernel/signal_64.c
@@ -26,6 +26,7 @@
26#include <asm/uaccess.h> 26#include <asm/uaccess.h>
27#include <asm/pgtable.h> 27#include <asm/pgtable.h>
28#include <asm/cacheflush.h> 28#include <asm/cacheflush.h>
29#include <asm/fpu.h>
29 30
30#define REG_RET 9 31#define REG_RET 9
31#define REG_ARG1 2 32#define REG_ARG1 2
diff --git a/arch/sh/kernel/traps_64.c b/arch/sh/kernel/traps_64.c
index 1b58a7499087..a85831cbf18b 100644
--- a/arch/sh/kernel/traps_64.c
+++ b/arch/sh/kernel/traps_64.c
@@ -30,6 +30,7 @@
30#include <asm/atomic.h> 30#include <asm/atomic.h>
31#include <asm/processor.h> 31#include <asm/processor.h>
32#include <asm/pgtable.h> 32#include <asm/pgtable.h>
33#include <asm/fpu.h>
33 34
34#undef DEBUG_EXCEPTION 35#undef DEBUG_EXCEPTION
35#ifdef DEBUG_EXCEPTION 36#ifdef DEBUG_EXCEPTION