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

Borislav Petkov
2014-07-02T19:19:22Z

On Wed, Jul 02, 2014 at 09:29:26AM -0700, Dave Hansen wrote:
>
> From: Dave Hansen <dave.hansen@linux.intel.com>
>
> 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@linux.intel.com>

Acked-by: Borislav Petkov <bp@suse.de>

--
Regards/Gruss,
Boris.

Sent from a fat crate under my desk. Formatting is fine.
--