aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorRandy Dunlap <[email protected]>2023-02-17 12:07:49 -0800
committerThomas Bogendoerfer <[email protected]>2023-02-19 09:25:38 +0100
commit6f02e39fa40f16c24e7a5c599a854c0d1682788d (patch)
treed00e4f940c927c3009c6820e9e6e0cd93c528aa1 /tools/perf/scripts/python/intel-pt-events.py
parentab47b3dae55300868efd0d4eb0d66a5d43315092 (diff)
MIPS: SMP-CPS: fix build error when HOTPLUG_CPU not set
When MIPS_CPS=y, MIPS_CPS_PM is not set, HOTPLUG_CPU is not set, and KEXEC=y, cps_shutdown_this_cpu() attempts to call cps_pm_enter_state(), which is not built when MIPS_CPS_PM is not set. Conditionally execute the else branch based on CONFIG_HOTPLUG_CPU to remove the build error. This build failure is from a randconfig file. mips-linux-ld: arch/mips/kernel/smp-cps.o: in function `$L162': smp-cps.c:(.text.cps_kexec_nonboot_cpu+0x31c): undefined reference to `cps_pm_enter_state' Fixes: 1447864bee4c ("MIPS: kexec: CPS systems to halt nonboot CPUs") Signed-off-by: Randy Dunlap <[email protected]> Cc: Dengcheng Zhu <[email protected]> Cc: Paul Burton <[email protected]> Cc: Thomas Bogendoerfer <[email protected]> Cc: [email protected] Cc: Sergei Shtylyov <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions