diff options
author | Dave Hansen <[email protected]> | 2014-11-14 07:18:23 -0800 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2014-11-18 00:58:53 +0100 |
commit | 95290cf13e561b52dceadb9a8b8ee8ff2464b142 (patch) | |
tree | fe054d06275253a707be92248c82110081521ffe /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 53f037b08b5bebf47aa2b574a984e2f9fc7926f2 (diff) |
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 <[email protected]>
Cc: Qiaowei Ren <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: Dave Hansen <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions