commit | 3693ca81151eacd498675baae56abede577e8b31 | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <[email protected]> | Fri Mar 01 15:24:33 2019 +0100 |
committer | Ingo Molnar <[email protected]> | Wed Apr 03 09:36:29 2019 +0200 |
tree | 3a5a28311c024636af112d9d89dcdcb723ea960b | |
parent | 8f4faed01e3015955801c8ef066ec7fd7a8b3902 [diff] |
x86/uaccess: Move copy_user_handle_tail() into asm By writing the function in asm we avoid cross object code flow and objtool no longer gets confused about a 'stray' CLAC. Also; the asm version is actually _simpler_. 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]>