From patchwork Wed Mar 30 12:46:24 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Martin X-Patchwork-Id: 843 Return-Path: Delivered-To: unknown Received: from imap.gmail.com (74.125.159.109) by localhost6.localdomain6 with IMAP4-SSL; 08 Jun 2011 14:46:21 -0000 Delivered-To: patches@linaro.org Received: by 10.42.161.68 with SMTP id s4cs45137icx; Wed, 30 Mar 2011 05:46:40 -0700 (PDT) Received: by 10.213.22.18 with SMTP id l18mr793578ebb.115.1301489199723; Wed, 30 Mar 2011 05:46:39 -0700 (PDT) Received: from mail-wy0-f178.google.com (mail-wy0-f178.google.com [74.125.82.178]) by mx.google.com with ESMTPS id r3si148139eeh.21.2011.03.30.05.46.39 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 30 Mar 2011 05:46:39 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.178 is neither permitted nor denied by best guess record for domain of dave.martin@linaro.org) client-ip=74.125.82.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.178 is neither permitted nor denied by best guess record for domain of dave.martin@linaro.org) smtp.mail=dave.martin@linaro.org Received: by mail-wy0-f178.google.com with SMTP id 33so1238352wyb.37 for ; Wed, 30 Mar 2011 05:46:39 -0700 (PDT) Received: by 10.227.53.206 with SMTP id n14mr1194880wbg.14.1301489198675; Wed, 30 Mar 2011 05:46:38 -0700 (PDT) Received: from e200948.peterhouse.linaro.org (fw-lnat.cambridge.arm.com [217.140.96.63]) by mx.google.com with ESMTPS id h19sm33655wbc.24.2011.03.30.05.46.35 (version=SSLv3 cipher=OTHER); Wed, 30 Mar 2011 05:46:36 -0700 (PDT) From: Dave Martin To: linux-arm-kernel@lists.infradead.org Cc: patches@linaro.org Subject: [PATCH] ARM: vfp: Remote obsolete fpmx_state field from vfp_hard_struct Date: Wed, 30 Mar 2011 13:46:24 +0100 Message-Id: <1301489184-4112-2-git-send-email-dave.martin@linaro.org> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1301489184-4112-1-git-send-email-dave.martin@linaro.org> References: <1301489184-4112-1-git-send-email-dave.martin@linaro.org> The fpmx_state field was presumably used in the past, when FSTMX/FLDMX were used to save and resture the VFP state. This was been deprecated since ARMv6, the context switch code has been ported to use the double-precision load/store variants many years ago, and now it appears that nothing in the kernel references this field any more. Signed-off-by: Dave Martin --- arch/arm/include/asm/fpstate.h | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/arch/arm/include/asm/fpstate.h b/arch/arm/include/asm/fpstate.h index ee5e03e..08bb836 100644 --- a/arch/arm/include/asm/fpstate.h +++ b/arch/arm/include/asm/fpstate.h @@ -18,7 +18,6 @@ * VFP storage area has: * - FPEXC, FPSCR, FPINST and FPINST2. * - 16 or 32 double precision data registers - * - an implementation-dependant word of state for FLDMX/FSTMX (pre-ARMv6) * * FPEXC will always be non-zero once the VFP has been used in this process. */ @@ -29,9 +28,6 @@ struct vfp_hard_struct { #else __u64 fpregs[16]; #endif -#if __LINUX_ARM_ARCH__ < 6 - __u32 fpmx_state; -#endif __u32 fpexc; __u32 fpscr; /*