]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sparc64: remove unnecessary macros from spinlock_64.h
authorMikael Pettersson <mikpe@it.uu.se>
Mon, 15 Aug 2011 10:10:31 +0000 (10:10 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 Oct 2011 18:39:59 +0000 (11:39 -0700)
commitb60c440fff5c9e6dd8d328617b79b7fd57aed9b1
tree16ff93176855f8bc21dcc8e24b2ea5e3e21ddead
parentd6b0fa557a435a3073da6298a88cd3f273fd8f5f
sparc64: remove unnecessary macros from spinlock_64.h

commit a0fba3eb059e73fed2d376a901f8117734c12f1f upstream.

The sparc64 spinlock_64.h contains a number of operations defined
first as static inline functions, and then as macros with the same
names and parameters as the functions.  Maybe this was needed at
some point in the past, but now nothing seems to depend on these
macros (checked with a recursive grep looking for ifdefs on these
names).  Other archs don't define these identity-macros.

So this patch deletes these unnecessary macros.

Compile-tested with sparc64_defconfig.

Signed-off-by: Mikael Pettersson <mikpe@it.uu.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/sparc/include/asm/spinlock_64.h