aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorDapeng Mi <dapeng1.mi@linux.intel.com>2025-08-20 10:30:30 +0800
committerPeter Zijlstra <peterz@infradead.org>2025-08-21 20:09:27 +0200
commit9b3e119784bc3671fde5043001a5c9a607c7d920 (patch)
tree103b2ff7dfcfdca925a3eb8daf9e8126b200ddb5 /kernel
parentperf/x86: Add PERF_CAP_PEBS_TIMING_INFO flag (diff)
downloadlinux-9b3e119784bc3671fde5043001a5c9a607c7d920.tar.gz
linux-9b3e119784bc3671fde5043001a5c9a607c7d920.zip
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 'kernel')
0 files changed, 0 insertions, 0 deletions