sparc64: simple microoptimizations for atomic functions
authorMikulas Patocka <mpatocka@redhat.com>
Wed, 18 Aug 2010 08:03:37 +0000 (08:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Aug 2010 05:51:08 +0000 (22:51 -0700)
commit6ec274750c99448c3412bbc10c97ce0c993f8a4e
tree1ec5f1b5a964d893dee6f2b4ba3eb691a3dc78a7
parent9b3bb86acabe0c05923cea1ed3b0bee9439fef4b
sparc64: simple microoptimizations for atomic functions

Simple microoptimizations for sparc64 atomic functions:
Save one instruction by using a delay slot.
Use %g1 instead of %g7, because %g1 is written earlier.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/lib/atomic_64.S