From: Dave Hansen Date: Fri, 14 Nov 2014 15:18:23 +0000 (-0800) Subject: x86, mpx: Add MPX to disabled features X-Git-Tag: omap-for-v3.20/drop-legacy-3517~158^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95290cf13e561b52dceadb9a8b8ee8ff2464b142;p=pandora-kernel.git x86, mpx: Add MPX to disabled features This allows us to use cpu_feature_enabled(X86_FEATURE_MPX) as both a runtime and compile-time check. When CONFIG_X86_INTEL_MPX is disabled, cpu_feature_enabled(X86_FEATURE_MPX) will evaluate at compile-time to 0. If CONFIG_X86_INTEL_MPX=y, then the cpuid flag will be checked at runtime. Signed-off-by: Dave Hansen Cc: Qiaowei Ren Cc: linux-mm@kvack.org Cc: linux-mips@linux-mips.org Cc: Dave Hansen Link: http://lkml.kernel.org/r/20141114151823.B358EAD2@viggo.jf.intel.com Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed