mirror of
https://github.com/torvalds/linux.git
synced 2024-12-05 18:41:23 +00:00
39a5959355
The MIPS_CPS_PM and MIPS_CPS_CPUIDLE implementation should depend on the MIPS_CPS symbol to avoid the following build problem arch/mips/kernel/pm-cps.c: In function 'cps_pm_enter_state': arch/mips/kernel/pm-cps.c:164:26: error: 'cpu_coherent_mask' undeclared (first use in this function) cpumask_clear_cpu(cpu, &cpu_coherent_mask); ^ Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Cc: Paul Burton <paul.burton@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: http://patchwork.linux-mips.org/patch/7798/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 lines
604 B
Plaintext
18 lines
604 B
Plaintext
#
|
|
# MIPS CPU Idle Drivers
|
|
#
|
|
config MIPS_CPS_CPUIDLE
|
|
bool "CPU Idle driver for MIPS CPS platforms"
|
|
depends on CPU_IDLE && MIPS_CPS
|
|
depends on SYS_SUPPORTS_MIPS_CPS
|
|
select ARCH_NEEDS_CPU_IDLE_COUPLED if MIPS_MT
|
|
select GENERIC_CLOCKEVENTS_BROADCAST if SMP
|
|
select MIPS_CPS_PM
|
|
default y
|
|
help
|
|
Select this option to enable processor idle state management
|
|
through cpuidle for systems built around the MIPS Coherent
|
|
Processing System (CPS) architecture. In order to make use of
|
|
the deepest idle states you will need to ensure that you are
|
|
also using the CONFIG_MIPS_CPS SMP implementation.
|