summaryrefslogtreecommitdiffstats
path: root/arch/arm/include
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2015-08-25 15:59:15 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2015-08-25 17:14:42 +0200
commit08446b129bbde34665c423d882f857a45b8c3aed (patch)
tree7278a8a8e379265d9853f41af208bc7e1c738196 /arch/arm/include
parentARM: domains: remove DOMAIN_TABLE (diff)
downloadlinux-08446b129bbde34665c423d882f857a45b8c3aed.tar.xz
linux-08446b129bbde34665c423d882f857a45b8c3aed.zip
ARM: mm: improve do_ldrd_abort macro
Improve the do_ldrd_abort macro code - firstly, it inefficiently checks for the LDRD encoding by doing a multi-stage test of various bits. This can be simplified by generating a mask, bitmasking the instruction and then comparing the result. Secondly, we want to be able to test the result rather than branching to do_DataAbort, so remove the branch at the end and rename the macro to 'teq_ldrd' to reflect it's new usage. teq_ldrd macro returns 'eq' if the instruction was a LDRD. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include')
0 files changed, 0 insertions, 0 deletions