diff options
| author | Yicong Yang <yangyccccc@gmail.com> | 2025-11-05 18:38:49 +0800 |
|---|---|---|
| committer | Will Deacon <will@kernel.org> | 2025-11-07 13:45:02 +0000 |
| commit | 7ab06ea41af53aa1713186ceaa154179e4b0d4c9 (patch) | |
| tree | 90a0537e32f973ae70dbc4c2fa349d5aafb510d0 /kernel/locking/rtmutex_api.c | |
| parent | 2d7a824807015209de4dd58c7ac240c5a276753e (diff) | |
arch_topology: Provide a stub topology_core_has_smt() for !CONFIG_GENERIC_ARCH_TOPOLOGY
The arm_pmu driver is using topology_core_has_smt() for retrieving
the SMT implementation which depends on CONFIG_GENERIC_ARCH_TOPOLOGY.
The config is optional on arm platforms so provide a
!CONFIG_GENERIC_ARCH_TOPOLOGY stub for topology_core_has_smt().
Fixes: c3d78c34ad00 ("perf: arm_pmuv3: Don't use PMCCNTR_EL0 on SMT cores")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202511041757.vuCGOmFc-lkp@intel.com/
Suggested-by: Will Deacon <will@kernel.org>
Signed-off-by: Yicong Yang <yangyccccc@gmail.com>
Reviewed-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'kernel/locking/rtmutex_api.c')
0 files changed, 0 insertions, 0 deletions
