From patchwork Tue Feb 2 19:06:23 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helge Deller X-Patchwork-Id: 76454 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o12J6UjJ020896 for ; Tue, 2 Feb 2010 19:06:30 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756906Ab0BBTG3 (ORCPT ); Tue, 2 Feb 2010 14:06:29 -0500 Received: from mail.gmx.net ([213.165.64.20]:49643 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1756357Ab0BBTG3 (ORCPT ); Tue, 2 Feb 2010 14:06:29 -0500 Received: (qmail invoked by alias); 02 Feb 2010 19:06:25 -0000 Received: from p54AD2C8C.dip0.t-ipconnect.de (EHLO p100.box) [84.173.44.140] by mail.gmx.net (mp037) with SMTP; 02 Feb 2010 20:06:25 +0100 X-Authenticated: #1045983 X-Provags-ID: V01U2FsdGVkX18z3ZY9BMQzocEinExfEz1q+Azj6vqc+xSvpgRIpj BLienSsR3u8qzJ Date: Tue, 2 Feb 2010 20:06:23 +0100 From: Helge Deller To: linux-parisc@vger.kernel.org, Kyle McMartin Subject: [PATCH] parisc: drop unnecessary cast in __ldcw_align() macro Message-ID: <20100202190623.GA7059@p100.box> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-08-17) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.60999999999999999 Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Tue, 02 Feb 2010 19:06:30 +0000 (UTC) diff --git a/arch/parisc/include/asm/system.h b/arch/parisc/include/asm/system.h --- a/arch/parisc/include/asm/system.h +++ b/arch/parisc/include/asm/system.h @@ -160,7 +160,7 @@ static inline void set_eiem(unsigned long val) ldcd). */ #define __PA_LDCW_ALIGNMENT 4 -#define __ldcw_align(a) ((volatile unsigned int *)a) +#define __ldcw_align(a) (&(a)->slock) #define __LDCW "ldcw,co" #endif /*!CONFIG_PA20*/