MIPS: traps: Add CPU PM callback for trap configuration
authorJames Hogan <james.hogan@imgtec.com>
Tue, 4 Mar 2014 10:20:43 +0000 (10:20 +0000)
committerPaul Burton <paul.burton@imgtec.com>
Fri, 2 May 2014 15:38:59 +0000 (16:38 +0100)
Implement a CPU power management callback for restoring trap related CPU
configuration after CPU power up from a low power state. The following
state is restored:

- Status register
- HWREna register
- Exception vector configuration registers
- Context/XContext register

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
arch/mips/include/asm/mmu_context.h
arch/mips/kernel/traps.c

Simple merge
Simple merge