powerpc: Context switch more PMU related SPRs
authorMichael Ellerman <michael@ellerman.id.au>
Tue, 21 May 2013 16:31:12 +0000 (16:31 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 24 May 2013 08:13:45 +0000 (18:13 +1000)
commit59affcd3e460b97492bc1aa2b843bafe7c54f596
tree4fd2ecfb2f4aaaec4e35d430ada859e837bf5ecf
parent605e44d6e6f9b0c9ca8842dc0eb3ad032a463bdb
powerpc: Context switch more PMU related SPRs

In commit 9353374 "Context switch the new EBB SPRs" we added support for
context switching some new EBB SPRs. However despite four of us signing
off on that patch we missed some. To be fair these are not actually new
SPRs, but they are now potentially user accessible so need to be context
switched.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/processor.h
arch/powerpc/kernel/asm-offsets.c
arch/powerpc/kernel/entry_64.S