summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2020-02-26 01:16:08 +0300
committerThomas Gleixner <tglx@linutronix.de>2020-06-11 16:14:34 +0300
commit725005897ec4ba07d6227a1ac3121048153eb3ce (patch)
treee978e712ea5ffba49363bbddbb0b3db7849d11c7 /include/linux
parente9660391d0ebd174b169af3d6de680c2f836027c (diff)
downloadlinux-725005897ec4ba07d6227a1ac3121048153eb3ce.tar.xz
x86/entry/64: Avoid pointless code when CONTEXT_TRACKING=n
GAS cannot optimize out the test and conditional jump when context tracking is disabled and CALL_enter_from_user_mode is an empty macro. Wrap it in #ifdeffery. Will go away once all this is moved to C. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Alexandre Chartre <alexandre.chartre@oracle.com> Acked-by: Frederic Weisbecker <frederic@kernel.org> Acked-by: Andy Lutomirski <luto@kernel.org> Acked-by: Peter Zijlstra <peterz@infradead.org> Link: https://lkml.kernel.org/r/20200505134058.955968069@linutronix.de
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions