]> 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, 7 Nov 2011 21:46:41 +0000 (13:46 -0800)
commit7923e0a24b17bb8ee4dc5f83cc42d82a2173e75a
tree25d768156f0dee01d87789e6b76858d62b8d5a50
parente6563a5326b1813f17c62543a685af05f35882e7
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