mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
cpuidle: cpuidle-cps: Enable use with MIPSr6 CPUs.
This patch enables the MIPS CPS driver for MIPSr6 CPUs. Signed-off-by: Matt Redfearn <[email protected]> Reviewed-by: Paul Burton <[email protected]> Reviewed-by: Daniel Lezcano <[email protected]> Cc: Rafael J. Wysocki <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/14228/ Signed-off-by: Ralf Baechle <[email protected]>
This commit is contained in:
parent
4b6401365a
commit
72bc8c75ea
2 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ 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 ARCH_NEEDS_CPU_IDLE_COUPLED if MIPS_MT || CPU_MIPSR6
|
||||
select GENERIC_CLOCKEVENTS_BROADCAST if SMP
|
||||
select MIPS_CPS_PM
|
||||
default y
|
||||
|
|
|
|||
|
|
@ -163,7 +163,7 @@ static int __init cps_cpuidle_init(void)
|
|||
core = cpu_data[cpu].core;
|
||||
device = &per_cpu(cpuidle_dev, cpu);
|
||||
device->cpu = cpu;
|
||||
#ifdef CONFIG_MIPS_MT
|
||||
#ifdef CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED
|
||||
cpumask_copy(&device->coupled_cpus, &cpu_sibling_map[cpu]);
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue