sh: xchg()/__xchg() always_inline fixes for gcc4.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 27 Sep 2006 07:05:56 +0000 (16:05 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 27 Sep 2006 07:05:56 +0000 (16:05 +0900)
commit00b3aa3fc9bd827caaa859de90d9eba831b77d40
tree303ec8e19c9289b1a54d2c67005ac44f68adcd9d
parentbc8bff63bacea47561de34e04a17c79846ecfe91
sh: xchg()/__xchg() always_inline fixes for gcc4.

Make __xchg() a macro, so that gcc 4.0 doesn't blow up thanks to
always_inline..

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
include/asm-sh/system.h