]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/perf: Drop MMCRA from thread_struct
authorMichael Ellerman <michael@ellerman.id.au>
Fri, 28 Jun 2013 08:15:15 +0000 (18:15 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 1 Jul 2013 01:50:07 +0000 (11:50 +1000)
commit73a89df2b9ed9c7993aedd624311dca351500f7e
treee3325c6b52aa3396c5a6872ad586e6fb8f32cd8b
parentfa87480cc3c0b45ed10263534505ebf590b6d561
powerpc/perf: Drop MMCRA from thread_struct

In commit d1c5cfa "Context switch more PMU related SPRs" I added more
PMU SPRs to thread_struct, later modified in commit 5e12efb. To add
insult to injury it turns out we don't need to switch MMCRA as it's
only user readable, and the value is recomputed by the PMU code.

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