diff options
author | Paul Burton <paul.burton@imgtec.com> | 2014-03-14 17:06:16 +0100 |
---|---|---|
committer | Paul Burton <paul.burton@imgtec.com> | 2014-05-28 17:20:29 +0200 |
commit | 68c1232f51350b007cb1f05260e9e784770ec513 (patch) | |
tree | a9059486d9c85d889cd9615792e2dbbf76029bb0 /arch/mips/include/asm/smp-cps.h | |
parent | MIPS: smp-cps: rework core/VPE initialisation (diff) | |
download | linux-68c1232f51350b007cb1f05260e9e784770ec513.tar.xz linux-68c1232f51350b007cb1f05260e9e784770ec513.zip |
MIPS: smp-cps: function to determine whether CPS SMP is in use
The core power down state for cpuidle will require that the CPS SMP
implementation is in use. This patch provides a mips_cps_smp_in_use
function which determines whether or not the CPS SMP implementation is
currently in use.
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Diffstat (limited to 'arch/mips/include/asm/smp-cps.h')
-rw-r--r-- | arch/mips/include/asm/smp-cps.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/include/asm/smp-cps.h b/arch/mips/include/asm/smp-cps.h index d49279e92eb5..324df2c835ac 100644 --- a/arch/mips/include/asm/smp-cps.h +++ b/arch/mips/include/asm/smp-cps.h @@ -31,6 +31,8 @@ extern void mips_cps_core_init(void); extern struct vpe_boot_config *mips_cps_boot_vpes(void); +extern bool mips_cps_smp_in_use(void); + #else /* __ASSEMBLY__ */ .extern mips_cps_bootcfg; |