commit | c5113b61baf7a9a8616eca83e20847e7fecdc679 | [log] [tgz] |
---|---|---|
author | Rabin Vincent <rabin@rab.in> | Mon Jan 25 19:43:03 2010 +0100 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Mon Feb 15 21:39:50 2010 +0000 |
tree | a7109d04a3dc00b7e6063a9a69fe5afcf3eb85d8 | |
parent | 24b44a66fa240f6fc63343623ca730d39754047e [diff] |
ARM: 5897/1: spinlock: don't use deprecated barriers on ARMv7 On ARMv7, the use of the cp15 operations for barriers is deprecated in favour of the isb, dsb, and dmb instructions. Change the locking functions to use the appropriate type of dsb for the architecture being built for. Signed-off-by: Rabin Vincent <rabin@rab.in> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>