+36
−34
Loading
mainline inclusion from mainline-v6.11-rc1 commit 7fd298d4b39d8d5fe99d56811a7ed78c7a5377d5 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IB81V6 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7fd298d4b39d8d5fe99d56811a7ed78c7a5377d5 -------------------------------- 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 <torvalds@linux-foundation.org> Signed-off-by:
Ze Zuo <zuoze1@huawei.com>