mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
![Markos Chandras](/assets/img/avatar_default.png)
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>
17 lines
604 B
Text
17 lines
604 B
Text
#
|
|
# 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.
|