diff options
author | Nick Desaulniers <ndesaulniers@google.com> | 2020-08-07 22:59:18 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-10-13 03:43:08 +0200 |
commit | 865c50e1d279671728c2936cb7680eb89355eeea (patch) | |
tree | 45bc6cf5392974a642f9264cd0c1871b375131e7 /drivers/char | |
parent | x86: Make __put_user() generate an out-of-line call (diff) | |
download | linux-865c50e1d279671728c2936cb7680eb89355eeea.tar.xz linux-865c50e1d279671728c2936cb7680eb89355eeea.zip |
x86/uaccess: utilize CONFIG_CC_HAS_ASM_GOTO_OUTPUT
Clang-11 shipped support for outputs to asm goto statments along the
fallthrough path. Double up some of the get_user() and related macros
to be able to take advantage of this extended GNU C extension. This
should help improve the generated code's performance for these accesses.
Cc: Bill Wendling <morbo@google.com>
Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions