summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2013-06-28 10:15:15 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-07-01 03:50:07 +0200
commit2ac138ca21ad26c988ce7c91d27327f85beb7519 (patch)
treee3325c6b52aa3396c5a6872ad586e6fb8f32cd8b /arch/powerpc/include
parentpowerpc/perf: Don't enable if we have zero events (diff)
downloadlinux-2ac138ca21ad26c988ce7c91d27327f85beb7519.tar.xz
linux-2ac138ca21ad26c988ce7c91d27327f85beb7519.zip
powerpc/perf: Drop MMCRA from thread_struct
In commit 59affcd "Context switch more PMU related SPRs" I added more PMU SPRs to thread_struct, later modified in commit b11ae95. 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>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r--arch/powerpc/include/asm/processor.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/processor.h b/arch/powerpc/include/asm/processor.h
index 9fe1129efa02..3f19df3cc7a3 100644
--- a/arch/powerpc/include/asm/processor.h
+++ b/arch/powerpc/include/asm/processor.h
@@ -289,7 +289,6 @@ struct thread_struct {
unsigned long sier;
unsigned long mmcr0;
unsigned long mmcr2;
- unsigned long mmcra;
#endif
};