diff options
author | Yazen Ghannam <[email protected]> | 2016-05-11 14:58:27 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-05-12 09:08:22 +0200 |
commit | 14cddfd5308b0880abd6e58b6660f5cc8e8020f9 (patch) | |
tree | f0613c3deac871a3351497244c1f88f459881b2c /tools/perf/util/trace-event-scripting.c | |
parent | 71faad43060d3d2040583635fbf7d1bdb3d04118 (diff) |
x86/mce: Update AMD mcheck init to use cpu_has() facilities
Use cpu_has() facilities to find available RAS features rather than
directly reading CPUID 0x80000007_EBX.
Signed-off-by: Yazen Ghannam <[email protected]>
[ Use the struct cpuinfo_x86 ptr instead. ]
Signed-off-by: Borislav Petkov <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Denys Vlasenko <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: linux-edac <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions