diff options
author | Arnd Bergmann <[email protected]> | 2023-02-06 20:33:06 +0100 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2023-02-09 20:50:39 +0100 |
commit | 7787943a3a8ade6594a68db28c166adbb1d3708c (patch) | |
tree | 319a234770d658d8017ff2e349190b5b8de0c346 /net | |
parent | 74528edfbc664f9d2c927c4e5a44f1285598ed0f (diff) |
cpuidle: add ARCH_SUSPEND_POSSIBLE dependencies
Some ARMv4 processors don't support suspend, which leads
to a build failure with the tegra and qualcomm cpuidle driver:
WARNING: unmet direct dependencies detected for ARM_CPU_SUSPEND
Depends on [n]: ARCH_SUSPEND_POSSIBLE [=n]
Selected by [y]:
- ARM_TEGRA_CPUIDLE [=y] && CPU_IDLE [=y] && (ARM [=y] || ARM64) && (ARCH_TEGRA [=n] || COMPILE_TEST [=y]) && !ARM64 && MMU [=y]
arch/arm/kernel/sleep.o: in function `__cpu_suspend':
(.text+0x68): undefined reference to `cpu_sa110_suspend_size'
(.text+0x68): undefined reference to `cpu_fa526_suspend_size'
Add an explicit dependency to make randconfig builds avoid
this combination.
Fixes: faae6c9f2e68 ("cpuidle: tegra: Enable compile testing")
Fixes: a871be6b8eee ("cpuidle: Convert Qualcomm SPM driver to a generic CPUidle driver")
Link: https://lore.kernel.org/all/[email protected]/
Cc: All applicable <[email protected]>
Reviewed-by: Dmitry Osipenko <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Acked-by: Thierry Reding <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions