Re: [patch 02/24] x86/entry/64: Avoid pointless code when CONTEXT_TRACKING=n

From: Frederic Weisbecker
Date: Mon Mar 02 2020 - 17:25:06 EST


On Tue, Feb 25, 2020 at 11:16:08PM +0100, Thomas Gleixner wrote:
> 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@xxxxxxxxxxxxx>

Acked-by: Frederic Weisbecker <frederic@xxxxxxxxxx>