From: Magnus Damm <magnus.damm@gmail.com>
To: linux-sh@vger.kernel.org
Subject: [PATCH] sh: fix build with FPU disabled
Date: Thu, 03 Dec 2009 12:20:41 +0000 [thread overview]
Message-ID: <20091203122041.9836.36225.sendpatchset@rxone.opensource.se> (raw)
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 */
next reply other threads:[~2009-12-03 12:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-03 12:20 Magnus Damm [this message]
2009-12-03 21:12 ` [PATCH] sh: fix build with FPU disabled Paul Mundt
2009-12-04 3:51 ` Magnus Damm
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091203122041.9836.36225.sendpatchset@rxone.opensource.se \
--to=magnus.damm@gmail.com \
--cc=linux-sh@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox