summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/include/asm/bitops.h
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2019-10-15 14:03:03 -0700
committerMax Filippov <jcmvbkbc@gmail.com>2019-11-26 11:33:38 -0800
commitcbc6e28703c44a321e9d8a8894ec11bc6e7e473d (patch)
tree19297af8311e1e551f43b00865a2d84b160c5c5f /arch/xtensa/include/asm/bitops.h
parentf5fae6790fd3199e45ead10f7004311abdf539e5 (diff)
downloadblackbird-op-linux-cbc6e28703c44a321e9d8a8894ec11bc6e7e473d.tar.gz
blackbird-op-linux-cbc6e28703c44a321e9d8a8894ec11bc6e7e473d.zip
xtensa: use "m" constraint instead of "a" in uaccess.h assembly
Use "m" constraint instead of "r" for the address, as "m" allows compiler to access adjacent locations using base + offset, while "r" requires updating the base register every time. Use %[mem] * 0 + v to replace offset part of %[mem] expansion with v. It is impossible to change address alignment through the offset part on xtensa, so just ignore offset in alignment checks. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/include/asm/bitops.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud