summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/alternative.h
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2019-04-03 09:39:45 +0200
committerIngo Molnar <mingo@kernel.org>2019-04-03 09:39:45 +0200
commitb69656fa7ea2f75e47d7bd5b9430359fa46488af (patch)
tree7084d68ae739b26776d7383d6f6c3eec9312bb4b /arch/x86/include/asm/alternative.h
parentx86/uaccess: Move copy_user_handle_tail() into asm (diff)
downloadlinux-b69656fa7ea2f75e47d7bd5b9430359fa46488af.tar.xz
linux-b69656fa7ea2f75e47d7bd5b9430359fa46488af.zip
x86/uaccess: Fix up the fixup
New tooling got confused about this: arch/x86/lib/memcpy_64.o: warning: objtool: .fixup+0x7: return with UACCESS enabled While the code isn't wrong, it is tedious (if at all possible) to figure out what function a particular chunk of .fixup belongs to. This then confuses the objtool uaccess validation. Instead of returning directly from the .fixup, jump back into the right function. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Borislav Petkov <bp@alien8.de> Cc: Josh Poimboeuf <jpoimboe@redhat.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/include/asm/alternative.h')
0 files changed, 0 insertions, 0 deletions