aboutsummaryrefslogtreecommitdiff
path: root/lib/pm-notifier-error-inject.c
diff options
context:
space:
mode:
authorLinus Torvalds <[email protected]>2024-06-01 15:04:53 -0700
committerLinus Torvalds <[email protected]>2024-06-19 12:33:38 -0700
commit7fd298d4b39d8d5fe99d56811a7ed78c7a5377d5 (patch)
tree778e3a29e29eb08ee8945d0a0213fda589e3a8e3 /lib/pm-notifier-error-inject.c
parent86a6a68febfcf57b5c2a7ba33e6d6f1f78ca5197 (diff)
arm64: start using 'asm goto' for put_user()
This generates noticeably better code since we don't need to test the error register etc, the exception just jumps to the error handling directly. Unlike get_user(), there's no need to worry about old compilers. All supported compilers support the regular non-output 'asm goto', as pointed out by Nathan Chancellor. Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/pm-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions