From patchwork Fri Jun 21 18:32:37 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helge Deller X-Patchwork-Id: 2763951 Return-Path: X-Original-To: patchwork-linux-parisc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 34A2F9F39E for ; Fri, 21 Jun 2013 18:32:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 64CD220200 for ; Fri, 21 Jun 2013 18:32:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 87ADF201FE for ; Fri, 21 Jun 2013 18:32:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1423589Ab3FUSck (ORCPT ); Fri, 21 Jun 2013 14:32:40 -0400 Received: from mout.gmx.net ([212.227.15.19]:60003 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1423588Ab3FUScj (ORCPT ); Fri, 21 Jun 2013 14:32:39 -0400 Received: from mailout-de.gmx.net ([10.1.76.24]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0MMqOH-1UwObJ1k5v-008XTo for ; Fri, 21 Jun 2013 20:32:38 +0200 Received: (qmail invoked by alias); 21 Jun 2013 18:32:38 -0000 Received: from p54AD1C93.dip0.t-ipconnect.de (EHLO [192.168.178.60]) [84.173.28.147] by mail.gmx.net (mp024) with SMTP; 21 Jun 2013 20:32:38 +0200 X-Authenticated: #1045983 X-Provags-ID: V01U2FsdGVkX1/4O49HXQ34J6YcS8ixWtbzYdm2rI2W9qAWpDtcv0 bEBLJIQeFOyrID Message-ID: <51C49C45.1060207@gmx.de> Date: Fri, 21 Jun 2013 20:32:37 +0200 From: Helge Deller User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 MIME-Version: 1.0 To: Will Deacon , linux-parisc Subject: Fwd: [RFC PATCH 11/16] hppa: locks: remove unused arch_*_relax operations References: <1371835057-19335-12-git-send-email-will.deacon@arm.com> In-Reply-To: <1371835057-19335-12-git-send-email-will.deacon@arm.com> X-Forwarded-Message-Id: <1371835057-19335-12-git-send-email-will.deacon@arm.com> X-Y-GMX-Trusted: 0 Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org X-Spam-Status: No, score=-8.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_TVD_MIME_EPI,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Thanks Will, forwarding to linux-parisc@vger.kernel.org so that it gets into parisc patchwork. I'll queue this patch up for 3.11 if it's OK for you. Helge -------- Original Message -------- Subject: [RFC PATCH 11/16] hppa: locks: remove unused arch_*_relax operations Date: Fri, 21 Jun 2013 18:17:32 +0100 From: Will Deacon To: linux-arch@vger.kernel.org CC: Will Deacon , Helge Deller The arch_{spin,read,write}_relax macros are not used anywhere in the kernel and are typically just aliases for cpu_relax(). This patch removes the unused definitions for parisc. Cc: Helge Deller Signed-off-by: Will Deacon --- arch/parisc/include/asm/spinlock.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/parisc/include/asm/spinlock.h b/arch/parisc/include/asm/spinlock.h index 3516e0b..64f2992 100644 --- a/arch/parisc/include/asm/spinlock.h +++ b/arch/parisc/include/asm/spinlock.h @@ -191,8 +191,4 @@ static __inline__ int arch_write_can_lock(arch_rwlock_t *rw) #define arch_read_lock_flags(lock, flags) arch_read_lock(lock) #define arch_write_lock_flags(lock, flags) arch_write_lock(lock) -#define arch_spin_relax(lock) cpu_relax() -#define arch_read_relax(lock) cpu_relax() -#define arch_write_relax(lock) cpu_relax() - #endif /* __ASM_SPINLOCK_H */