commit | e8973a889e69cb86cac08bec2863c878c0d27af9 | [log] [tgz] |
---|---|---|
author | Sarbojit Ganguly <ganguly.s@samsung.com> | Fri Oct 09 12:10:02 2015 +0100 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Fri Oct 09 16:22:54 2015 +0100 |
tree | e38d278665d5998a1f4cc2df2eee8a5608440b32 | |
parent | e1b8c05dccc7d3de8c49c92c41b2b5ac7d8275b2 [diff] |
ARM: 8443/1: Adding support for atomic half word exchange Since support for half-word atomic exchange was not there and Qspinlock on ARM requires it, modified __xchg() to add support for that as well. ARMv6 and lower does not support ldrex{b,h} so, added a guard code to prevent build breaks. Signed-off-by: Sarbojit Ganguly <ganguly.s@samsung.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>