projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e88ed82
)
sh: Stubs for fpu disabled on SH-5.
author
Paul Mundt
<lethal@linux-sh.org>
Tue, 20 Nov 2007 09:44:39 +0000
(18:44 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Mon, 28 Jan 2008 04:18:51 +0000
(13:18 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
include/asm-sh/processor_64.h
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-sh/processor_64.h
b/include/asm-sh/processor_64.h
index 312fd73fb87e9fcf13d2242623a293b925473743..f546482292318b8204353fb0316860d570808a15 100644
(file)
--- 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;