diff options
author | Mihai Caraman <mihai.caraman@freescale.com> | 2012-08-06 03:27:04 (GMT) |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-09-05 05:35:43 (GMT) |
commit | 5473eb1c07009956be5f4df65d51f8e24d8eb1de (patch) | |
tree | 69ca3a9ea3aee261bc1db482d63ed82b34df5bdd /arch/powerpc/include/asm/exception-64e.h | |
parent | a1310757218e0757ee77d2ce05c43028430ed9dd (diff) | |
download | linux-5473eb1c07009956be5f4df65d51f8e24d8eb1de.tar.xz |
powerpc/booke64: Use GSRR registers in Guest Doorbell interrupts
Guest Doorbell interrupts use guest save and restore registers. Add a new
Guest Doorbell exception type to accommodate GSRR0/1 SPRs usage in exception
prolog and fix the exception handler.
Signed-off-by: Mihai Caraman <mihai.caraman@freescale.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/exception-64e.h')
-rw-r--r-- | arch/powerpc/include/asm/exception-64e.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/exception-64e.h b/arch/powerpc/include/asm/exception-64e.h index ac13add..e73452f 100644 --- a/arch/powerpc/include/asm/exception-64e.h +++ b/arch/powerpc/include/asm/exception-64e.h @@ -37,6 +37,7 @@ * critical data */ +#define PACA_EXGDBELL PACA_EXGEN /* We are out of SPRGs so we save some things in the PACA. The normal * exception frame is smaller than the CRIT or MC one though |