From e7bdb6abd124901e5ded9d7baf696ee3858b228a Mon Sep 17 00:00:00 2001 From: Paul Mundt Date: Tue, 20 Nov 2007 18:44:39 +0900 Subject: [PATCH] --- yaml --- r: 77757 b: refs/heads/master c: ffd25eb6cd1aa2bcdedf0c06be7e180022055cd1 h: refs/heads/master i: 77755: 819b214aa05fd79e1f59edeaa3ac24472d6751d2 v: v3 --- [refs] | 2 +- trunk/include/asm-sh/processor_64.h | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index c39d087c7793..162e94c892f3 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e88ed82ef8c385f84333cb8f30aec6dcb1f9e76f +refs/heads/master: ffd25eb6cd1aa2bcdedf0c06be7e180022055cd1 diff --git a/trunk/include/asm-sh/processor_64.h b/trunk/include/asm-sh/processor_64.h index 312fd73fb87e..f54648229231 100644 --- a/trunk/include/asm-sh/processor_64.h +++ b/trunk/include/asm-sh/processor_64.h @@ -262,11 +262,16 @@ static inline void grab_fpu(struct pt_regs *regs) #define FPSCR_INIT 0x00000000 #endif +#ifdef CONFIG_SH_FPU /* Save the current FP regs */ void fpsave(struct sh_fpu_hard_struct *fpregs); /* Initialise the FP state of a task */ void fpinit(struct sh_fpu_hard_struct *fpregs); +#else +#define fpsave(fpregs) do { } while (0) +#define fpinit(fpregs) do { } while (0) +#endif extern struct task_struct *last_task_used_math;