summaryrefslogtreecommitdiffstats
path: root/arch/mn10300/include/asm/switch_to.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mn10300/include/asm/switch_to.h')
-rw-r--r--arch/mn10300/include/asm/switch_to.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mn10300/include/asm/switch_to.h b/arch/mn10300/include/asm/switch_to.h
index 393d311735c8..67e333aa7629 100644
--- a/arch/mn10300/include/asm/switch_to.h
+++ b/arch/mn10300/include/asm/switch_to.h
@@ -16,7 +16,7 @@
struct task_struct;
struct thread_struct;
-#if !defined(CONFIG_LAZY_SAVE_FPU)
+#if defined(CONFIG_FPU) && !defined(CONFIG_LAZY_SAVE_FPU)
struct fpu_state_struct;
extern asmlinkage void fpu_save(struct fpu_state_struct *);
#define switch_fpu(prev, next) \
OpenPOWER on IntegriCloud