sh: Tidy up dependencies for SH-2 build.
SH-2 can presently get in to some pretty bogus states, so we tidy up the dependencies a bit and get it all building again. This gets us a bit closer to a functional allyesconfig and allmodconfig, though there are still a few things to fix up. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
@ -228,11 +228,7 @@ static __inline__ void grab_fpu(struct pt_regs *regs)
|
||||
regs->sr &= ~SR_FD;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_CPU_SH4
|
||||
extern void save_fpu(struct task_struct *__tsk, struct pt_regs *regs);
|
||||
#else
|
||||
#define save_fpu(tsk) do { } while (0)
|
||||
#endif
|
||||
|
||||
#define unlazy_fpu(tsk, regs) do { \
|
||||
if (test_tsk_thread_flag(tsk, TIF_USEDFPU)) { \
|
||||
|
Reference in New Issue
Block a user