public inbox for linux-sh@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sh: fix build with FPU disabled
@ 2009-12-03 12:20 Magnus Damm
  2009-12-03 21:12 ` Paul Mundt
  2009-12-04  3:51 ` Magnus Damm
  0 siblings, 2 replies; 3+ messages in thread
From: Magnus Damm @ 2009-12-03 12:20 UTC (permalink / raw)
  To: linux-sh

From: Magnus Damm <damm@opensource.se>

This patch makes sure platforms lacking FPU build
Without this sh7722 fails to build.

Signed-off-by: Magnus Damm <damm@opensource.se>
---

 arch/sh/kernel/process_32.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- 0001/arch/sh/kernel/process_32.c
+++ work/arch/sh/kernel/process_32.c	2009-12-03 15:03:27.000000000 +0900
@@ -290,9 +290,9 @@ static void ubc_set_tracing(int asid, un
 __notrace_funcgraph struct task_struct *
 __switch_to(struct task_struct *prev, struct task_struct *next)
 {
+#if defined(CONFIG_SH_FPU)
 	struct thread_struct *next_t = &next->thread;
 
-#if defined(CONFIG_SH_FPU)
 	unlazy_fpu(prev, task_pt_regs(prev));
 
 	/* we're going to use this soon, after a few expensive things */

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] sh: fix build with FPU disabled
  2009-12-03 12:20 [PATCH] sh: fix build with FPU disabled Magnus Damm
@ 2009-12-03 21:12 ` Paul Mundt
  2009-12-04  3:51 ` Magnus Damm
  1 sibling, 0 replies; 3+ messages in thread
From: Paul Mundt @ 2009-12-03 21:12 UTC (permalink / raw)
  To: linux-sh

On Thu, Dec 03, 2009 at 09:20:41PM +0900, Magnus Damm wrote:
> From: Magnus Damm <damm@opensource.se>
> 
> This patch makes sure platforms lacking FPU build
> Without this sh7722 fails to build.
> 
> Signed-off-by: Magnus Damm <damm@opensource.se>

This was fixed 8 days ago.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] sh: fix build with FPU disabled
  2009-12-03 12:20 [PATCH] sh: fix build with FPU disabled Magnus Damm
  2009-12-03 21:12 ` Paul Mundt
@ 2009-12-04  3:51 ` Magnus Damm
  1 sibling, 0 replies; 3+ messages in thread
From: Magnus Damm @ 2009-12-04  3:51 UTC (permalink / raw)
  To: linux-sh

On Fri, Dec 4, 2009 at 6:12 AM, Paul Mundt <lethal@linux-sh.org> wrote:
> On Thu, Dec 03, 2009 at 09:20:41PM +0900, Magnus Damm wrote:
>> From: Magnus Damm <damm@opensource.se>
>>
>> This patch makes sure platforms lacking FPU build
>> Without this sh7722 fails to build.
>>
>> Signed-off-by: Magnus Damm <damm@opensource.se>
>
> This was fixed 8 days ago.

Ok, this is just me being confused moving back and forth due to the
cache issues.

/ magnus

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-12-04  3:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-03 12:20 [PATCH] sh: fix build with FPU disabled Magnus Damm
2009-12-03 21:12 ` Paul Mundt
2009-12-04  3:51 ` Magnus Damm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox