From: Dave Hansen Date: Thu, 11 Sep 2014 21:15:11 +0000 (-0700) Subject: x86: Axe the lightly-used cpu_has_pae X-Git-Tag: fixes-against-v3.18-rc2~91^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8128cceb4f4b02c53096cb173628184c7e9bc36;p=pandora-kernel.git x86: Axe the lightly-used cpu_has_pae 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 Link: http://lkml.kernel.org/r/20140911211511.AD76E774@viggo.jf.intel.com Acked-by: Borislav Petkov Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed