From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754003Ab1A0EpL (ORCPT ); Wed, 26 Jan 2011 23:45:11 -0500 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:50763 "EHLO sunset.davemloft.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753093Ab1A0EpJ (ORCPT ); Wed, 26 Jan 2011 23:45:09 -0500 Date: Wed, 26 Jan 2011 20:45:44 -0800 (PST) Message-Id: <20110126.204544.112604235.davem@davemloft.net> To: tglx@linutronix.de Cc: linux-kernel@vger.kernel.org, peterz@infradead.org, dhowells@redhat.com, x86@kernel.org, benh@kernel.crashing.org, rth@twiddle.net, tony.luck@intel.com, heiko.carstens@de.ibm.com, lethal@linux-sh.org, chris@zankel.net Subject: Re: [patch 6/6] rwsem: Move duplicate function prototypes to linux/rwsem.h From: David Miller In-Reply-To: <20110126195833.970840140@linutronix.de> References: <20110126195810.247325792@linutronix.de> <20110126195833.970840140@linutronix.de> X-Mailer: Mew version 6.3 on Emacs 23.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Thomas Gleixner Date: Wed, 26 Jan 2011 20:06:06 -0000 > All architecture specific rwsem headers carry the same function > prototypes. Just x86 adds asmregparm, which is an empty define on all > other architectures. S390 has a stale rwsem_downgrade_write() > prototype. > > Remove the duplicates and add the prototypes to linux/rwsem.h > > Signed-off-by: Thomas Gleixner Acked-by: David S. Miller