Re: [PATCH 1/4] x86: axe the lightly-used cpu_has_pae

From: Borislav Petkov
Date: Wed Jul 02 2014 - 15:19:25 EST


On Wed, Jul 02, 2014 at 09:29:26AM -0700, Dave Hansen wrote:
>
> From: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>
>
> cpu_has_pae is only referenced in one place: the X86_32 kexec
> code (in a file not even built on 64-bit). It hardly warrants
> its own macro, or the trouble we go to ensuring that it can't
> be called in X86_64 code.
>
> Axe the macro and replace it with a direct cpu feature check.
>
> Signed-off-by: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>

Acked-by: Borislav Petkov <bp@xxxxxxx>

--
Regards/Gruss,
Boris.

Sent from a fat crate under my desk. Formatting is fine.
--
--
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/