diff options
author | Mark Rutland <[email protected]> | 2023-03-14 15:37:00 +0000 |
---|---|---|
committer | Will Deacon <[email protected]> | 2023-03-28 21:13:44 +0100 |
commit | 172420865b29233f9daeb7fb97da84224dcdbf40 (patch) | |
tree | 1ccbdd82034bd662f25d56e9d53bee94d9a38ba8 /lib/memory-notifier-error-inject.c | |
parent | 4a3f806eca09f2ac042c42db0d6468f5a81ab666 (diff) |
arm64: uaccess: remove unnecessary earlyclobber
Currently the asm constraints for __get_mem_asm() mark the value
register as an earlyclobber operand. This means that the compiler can't
reuse the same register for both the address and value, even when the
value is not subsequently used.
There's no need for the value register to be marked as earlyclobber, as
it's only written to after the address register is consumed, even when
the access faults.
Remove the unnecessary earlyclobber.
There should be no functional change as a result of this patch.
Signed-off-by: Mark Rutland <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Robin Murphy <[email protected]>
Cc: Will Deacon <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions