Commit ffd25eb6 authored by Paul Mundt's avatar Paul Mundt

sh: Stubs for fpu disabled on SH-5.

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent e88ed82e
...@@ -262,11 +262,16 @@ static inline void grab_fpu(struct pt_regs *regs) ...@@ -262,11 +262,16 @@ static inline void grab_fpu(struct pt_regs *regs)
#define FPSCR_INIT 0x00000000 #define FPSCR_INIT 0x00000000
#endif #endif
#ifdef CONFIG_SH_FPU
/* Save the current FP regs */ /* Save the current FP regs */
void fpsave(struct sh_fpu_hard_struct *fpregs); void fpsave(struct sh_fpu_hard_struct *fpregs);
/* Initialise the FP state of a task */ /* Initialise the FP state of a task */
void fpinit(struct sh_fpu_hard_struct *fpregs); 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; extern struct task_struct *last_task_used_math;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment