aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorChen Gang <[email protected]>2013-10-26 15:07:25 +0100
committerRussell King <[email protected]>2013-11-09 00:00:12 +0000
commit4dcc1cf7316a26e112f5c9fcca531ff98ef44700 (patch)
tree4120862133d8c7c18f2f855100d95ce09b6209bb /lib/test-string_helpers.c
parent237f12337cfa2175474e4dd015bc07a25eb9080d (diff)
ARM: 7867/1: include: asm: use 'int' instead of 'unsigned long' for 'oldval' in atomic_cmpxchg().
For atomic_cmpxchg(), the type of 'oldval' need be 'int' to match the type of "*ptr" (used by 'ldrex' instruction) and 'old' (used by 'teq' instruction). Reviewed-by: Will Deacon <[email protected]> Signed-off-by: Chen Gang <[email protected]> Signed-off-by: Will Deacon <[email protected]> Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions