IA64: Optimize ticket spinlocks in fsys_rt_sigprocmask
authorPetr Tesarik <ptesarik@suse.cz>
Wed, 15 Sep 2010 22:35:48 +0000 (15:35 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 27 Sep 2010 00:21:29 +0000 (17:21 -0700)
commit6e01cc9e2407c3f929c903f5813bc20c079f8e0b
treec871c8d39dd2192829800a67b6a7add65abe36d1
parente3c0109cdf6b0656887364b6dd435cb5e7d30b15
IA64: Optimize ticket spinlocks in fsys_rt_sigprocmask

commit 2d2b6901649a62977452be85df53eda2412def24 upstream.

Tony's fix (f574c843191728d9407b766a027f779dcd27b272) has a small bug,
it incorrectly uses "r3" as a scratch register in the first of the two
unlock paths ... it is also inefficient.  Optimize the fast path again.

Signed-off-by: Petr Tesarik <ptesarik@suse.cz>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/ia64/kernel/fsys.S