diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2019-10-15 14:03:03 -0700 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2019-11-26 11:33:38 -0800 |
commit | cbc6e28703c44a321e9d8a8894ec11bc6e7e473d (patch) | |
tree | 19297af8311e1e551f43b00865a2d84b160c5c5f /fs/drop_caches.c | |
parent | f5fae6790fd3199e45ead10f7004311abdf539e5 (diff) |
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 'fs/drop_caches.c')
0 files changed, 0 insertions, 0 deletions