Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ffd25eb6cd1aa2bcdedf0c06be7e180022055cd1 Commit: ffd25eb6cd1aa2bcdedf0c06be7e180022055cd1 Parent: e88ed82ef8c385f84333cb8f30aec6dcb1f9e76f Author: Paul Mundt <[EMAIL PROTECTED]> AuthorDate: Tue Nov 20 18:44:39 2007 +0900 Committer: Paul Mundt <[EMAIL PROTECTED]> CommitDate: Mon Jan 28 13:18:51 2008 +0900
sh: Stubs for fpu disabled on SH-5. Signed-off-by: Paul Mundt <[EMAIL PROTECTED]> --- include/asm-sh/processor_64.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/include/asm-sh/processor_64.h b/include/asm-sh/processor_64.h index 312fd73..f546482 100644 --- a/include/asm-sh/processor_64.h +++ b/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; - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html