aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/compiler-gcc.h
diff options
context:
space:
mode:
authorJosh Poimboeuf <jpoimboe@redhat.com>2019-07-17 20:36:44 -0500
committerThomas Gleixner <tglx@linutronix.de>2019-07-18 21:01:06 +0200
commit82e844a6536d1a3c12a73e44712f4021d90a4b53 (patch)
treeca18cbcd737c05255669e9bad7c33537509b6dd2 /include/linux/compiler-gcc.h
parentx86/uaccess: Don't leak AC flag into fentry from mcsafe_handle_tail() (diff)
downloadwireguard-linux-82e844a6536d1a3c12a73e44712f4021d90a4b53.tar.xz
wireguard-linux-82e844a6536d1a3c12a73e44712f4021d90a4b53.zip
x86/uaccess: Remove redundant CLACs in getuser/putuser error paths
The same getuser/putuser error paths are used regardless of whether AC is set. In non-exception failure cases, this results in an unnecessary CLAC. Fixes the following warnings: arch/x86/lib/getuser.o: warning: objtool: .altinstr_replacement+0x18: redundant UACCESS disable arch/x86/lib/putuser.o: warning: objtool: .altinstr_replacement+0x18: redundant UACCESS disable Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/bc14ded2755ae75bd9010c446079e113dbddb74b.1563413318.git.jpoimboe@redhat.com
Diffstat (limited to 'include/linux/compiler-gcc.h')
0 files changed, 0 insertions, 0 deletions