diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2018-06-29 22:31:08 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2018-07-03 13:08:20 +0200 |
commit | e2ce67b2b34b6e9d77da2f375dba5b525508f7df (patch) | |
tree | 881f9a6c4e297a3f4650289448b5e362d4589f60 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | dbd0fbc76c77daac08ddd245afdcbade0d506e19 (diff) |
x86/cpu: Introduce INTEL_CPU_FAM*() helper macros
These macros are often used by drivers and there exists already a lot of
duplication as ICPU() macro across the drivers.
Provide a generic x86 macro for users.
Note, as Ingo Molnar pointed out this has a hidden issue when a driver
needs to preserve const qualifier. Though, it would be addressed
separately at some point.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Pavel Tatashin <pasha.tatashin@oracle.com>
Link: https://lkml.kernel.org/r/20180629193113.84425-2-andriy.shevchenko@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions