diff options
author | James Hogan <james.hogan@imgtec.com> | 2014-03-04 14:11:39 +0400 |
---|---|---|
committer | Paul Burton <paul.burton@imgtec.com> | 2014-04-24 18:15:54 +0400 |
commit | b1d4c6cac02808b1d4e84d0187dc6014bffd2446 (patch) | |
tree | 6a3dcb67c7ea0b44616efa3a1b2fcb327551775f /arch/mips/kernel/Makefile | |
parent | a798c10faf62a505d24e5f6213fbaf904a39623f (diff) | |
download | linux-b1d4c6cac02808b1d4e84d0187dc6014bffd2446.tar.xz |
MIPS: PM: Add CPU PM callbacks for general CPU context
Add a CPU power management notifier callback for preserving general CPU
context. The CPU PM callbacks will be triggered by the powering down of
CPU cores, for example by cpuidle drivers & in the future by suspend to
RAM implementations.
The current state preserved is mostly related to the process context:
- FPU
- DSP
- ASID
- UserLocal
- Watch registers
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Diffstat (limited to 'arch/mips/kernel/Makefile')
-rw-r--r-- | arch/mips/kernel/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/kernel/Makefile b/arch/mips/kernel/Makefile index 277dab301cea..97540a80b833 100644 --- a/arch/mips/kernel/Makefile +++ b/arch/mips/kernel/Makefile @@ -107,6 +107,8 @@ obj-$(CONFIG_JUMP_LABEL) += jump_label.o obj-$(CONFIG_MIPS_CM) += mips-cm.o obj-$(CONFIG_MIPS_CPC) += mips-cpc.o +obj-$(CONFIG_CPU_PM) += pm.o + # # DSP ASE supported for MIPS32 or MIPS64 Release 2 cores only. It is not # safe to unconditionnaly use the assembler -mdsp / -mdspr2 switches |