From patchwork Thu Dec 3 12:20:41 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 64502 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nB3CQHP9012644 for ; Thu, 3 Dec 2009 12:26:17 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751278AbZLCM0K (ORCPT ); Thu, 3 Dec 2009 07:26:10 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751787AbZLCM0K (ORCPT ); Thu, 3 Dec 2009 07:26:10 -0500 Received: from mail-yw0-f182.google.com ([209.85.211.182]:39017 "EHLO mail-yw0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751278AbZLCM0J (ORCPT ); Thu, 3 Dec 2009 07:26:09 -0500 Received: by ywh12 with SMTP id 12so1360781ywh.21 for ; Thu, 03 Dec 2009 04:26:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:date:message-id :subject; bh=MdTn+vEobC1eOX2fAT0RdeTl8dbFJw1RYgYAt7sZAbM=; b=lhRqNKxkj4tkq0ygsR49g9E/rD/+LDgetj4fBBtrr288T7V8SkF65XzY11iDzfMTHl rZkVq2Rbr/XkLQnS21grZJkQweUbC7xlhAGl/s+bclj488sGhBWuKoWm361CqbjR2zQf Oe79MhzBsvQCqw4cKA1CA8YipW2tay92NC6EM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:date:message-id:subject; b=lbuC3+MVm5FIOidm/4ASYOZJvDQ5n8WDaN5TWZClBS7OkWSXh5xjenckYYnqJmJ9di aMAMZQJORvCENUpbMo1m+FRpqao/qbmx3e+dW+UXrUvYo+t/foo1ugYRwwe6s3b3MXtu iv28MaCDsvZs3QUgz5yR9YXYo8u6sUzCXxMQk= Received: by 10.101.61.20 with SMTP id o20mr1639007ank.166.1259843174163; Thu, 03 Dec 2009 04:26:14 -0800 (PST) Received: from rxone.opensource.se (49.14.32.202.bf.2iij.net [202.32.14.49]) by mx.google.com with ESMTPS id 36sm1014117yxh.13.2009.12.03.04.26.12 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 03 Dec 2009 04:26:13 -0800 (PST) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: Magnus Damm , lethal@linux-sh.org Date: Thu, 03 Dec 2009 21:20:41 +0900 Message-Id: <20091203122041.9836.36225.sendpatchset@rxone.opensource.se> Subject: [PATCH] sh: fix build with FPU disabled Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org --- 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 */