summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/exception-64s.h
diff options
context:
space:
mode:
authorHaren Myneni <haren@linux.vnet.ibm.com>2012-12-07 01:48:26 +0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-01-10 10:01:05 +0400
commita09688cd23d477ebd9c8f57881bfe907240cb0a1 (patch)
treec6d2714611c21d92691afa15da76c66b4cc05d00 /arch/powerpc/include/asm/exception-64s.h
parentd261386852178ce0bdf836f7c92267f21c8bb3f9 (diff)
downloadlinux-a09688cd23d477ebd9c8f57881bfe907240cb0a1.tar.xz
powerpc: Increase exceptions arrays in paca struct to save PPR
[PATCH 3/6] powerpc: Increase exceptions arrays in paca struct to save PPR Using paca to save user defined PPR value in the first level exception vector. Signed-off-by: Haren Myneni <haren@us.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/exception-64s.h')
-rw-r--r--arch/powerpc/include/asm/exception-64s.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/exception-64s.h b/arch/powerpc/include/asm/exception-64s.h
index 49b7faf7bbf2..ed3cdcb50198 100644
--- a/arch/powerpc/include/asm/exception-64s.h
+++ b/arch/powerpc/include/asm/exception-64s.h
@@ -47,6 +47,7 @@
#define EX_R3 64
#define EX_LR 72
#define EX_CFAR 80
+#define EX_PPR 88 /* SMT thread status register (priority) */
#ifdef CONFIG_RELOCATABLE
#define EXCEPTION_RELON_PROLOG_PSERIES_1(label, h) \