Re: [patch 09/23] x86/x2apic: Add proper state tracking
From: Borislav Petkov
Date: Fri Jan 16 2015 - 13:58:21 EST
On Thu, Jan 15, 2015 at 09:22:22PM -0000, Thomas Gleixner wrote:
> Having 3 different variables to track the state is just silly and
> error prone. Add a proper state tracking variable which covers the
> three possible states: ON/OFF/DISABLED.
>
> We cannot use x2apic_mode for this as this would require to change all
> users of x2apic_mode with explicit comparisons for a state value
> instead of treating it as boolean.
>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Acked-by: Borislav Petkov <bp@xxxxxxx>
--
Regards/Gruss,
Boris.
ECO tip #101: Trim your mails when you reply.
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/