diff options
author | He Ying <[email protected]> | 2021-04-06 08:33:28 -0400 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2021-04-08 19:54:14 +0200 |
commit | 498ba2a8a2756694b6f3888857426dbc8a5e6b6c (patch) | |
tree | af8109e27643aebc1dddf933784799954701500b /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 2dabed47778958cca7880544c20e55984bf43d33 (diff) |
cpuidle: Fix ARM_QCOM_SPM_CPUIDLE configuration
When CONFIG_ARM_QCOM_SPM_CPUIDLE is y and CONFIG_MMU is not set,
compiling errors are encountered as follows:
drivers/cpuidle/cpuidle-qcom-spm.o: In function `spm_dev_probe':
cpuidle-qcom-spm.c:(.text+0x140): undefined reference to `cpu_resume_arm'
cpuidle-qcom-spm.c:(.text+0x148): undefined reference to `cpu_resume_arm'
Note that cpu_resume_arm is defined when MMU is set. So, add dependency
on MMU in ARM_QCOM_SPM_CPUIDLE configuration.
Fixes: a871be6b8eee ("cpuidle: Convert Qualcomm SPM driver to a generic CPUidle driver")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: He Ying <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions