]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Aug 2011 21:35:18 +0000 (14:35 -0700)
commit92b8241ba973c9ed17deba018ac69ca66f46eea1
treeb01928a3218da7abbbc9881fdf6c18cd4c6524a2
parent5465b65affc2f7c8a3024e4b90fa953d8370b2a4
sparc64: remove unnecessary macros from spinlock_64.h

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>
arch/sparc/include/asm/spinlock_64.h