diff options
author | Andy Shevchenko <[email protected]> | 2018-06-29 22:31:08 +0300 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2018-07-03 13:08:20 +0200 |
commit | e2ce67b2b34b6e9d77da2f375dba5b525508f7df (patch) | |
tree | 881f9a6c4e297a3f4650289448b5e362d4589f60 /tools/perf/scripts/python/export-to-postgresql.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 <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Pavel Tatashin <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions