diff options
author | Dapeng Mi <dapeng1.mi@linux.intel.com> | 2025-08-20 10:30:30 +0800 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2025-08-21 20:09:27 +0200 |
commit | 9b3e119784bc3671fde5043001a5c9a607c7d920 (patch) | |
tree | 103b2ff7dfcfdca925a3eb8daf9e8126b200ddb5 /rust/helpers/build_bug.c | |
parent | 0c5caea762de31a85cbcce65d978cec83449f699 (diff) |
perf/x86/intel: Change macro GLOBAL_CTRL_EN_PERF_METRICS to BIT_ULL(48)
Macro GLOBAL_CTRL_EN_PERF_METRICS is defined to 48 instead of
BIT_ULL(48), it's inconsistent with other similar macros. This leads to
this macro is quite easily used wrongly since users thinks it's a
bit-mask just like other similar macros.
Thus change GLOBAL_CTRL_EN_PERF_METRICS to BIT_ULL(48) and eliminate
this potential misuse.
Signed-off-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Kan Liang <kan.liang@linux.intel.com>
Tested-by: Yi Lai <yi1.lai@intel.com>
Link: https://lore.kernel.org/r/20250820023032.17128-6-dapeng1.mi@linux.intel.com
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions