]> Git Repo - linux.git/commit
x86/uaccess: Fix up the fixup
authorPeter Zijlstra <[email protected]>
Wed, 3 Apr 2019 07:39:45 +0000 (09:39 +0200)
committerIngo Molnar <[email protected]>
Wed, 3 Apr 2019 07:39:45 +0000 (09:39 +0200)
commitb69656fa7ea2f75e47d7bd5b9430359fa46488af
tree7084d68ae739b26776d7383d6f6c3eec9312bb4b
parent3693ca81151eacd498675baae56abede577e8b31
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) <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/lib/memcpy_64.S
This page took 0.050254 seconds and 4 git commands to generate.