mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
powerpc/64s/exception: move paca save area offsets into exception-64s.S
No generated code change. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
parent
d064151fd3
commit
1582009113
2 changed files with 25 additions and 14 deletions
|
@ -36,22 +36,11 @@
|
|||
*/
|
||||
#include <asm/feature-fixups.h>
|
||||
|
||||
/* PACA save area offsets (exgen, exmc, etc) */
|
||||
#define EX_R9 0
|
||||
#define EX_R10 8
|
||||
#define EX_R11 16
|
||||
#define EX_R12 24
|
||||
#define EX_R13 32
|
||||
#define EX_DAR 40
|
||||
#define EX_DSISR 48
|
||||
#define EX_CCR 52
|
||||
#define EX_CFAR 56
|
||||
#define EX_PPR 64
|
||||
/* PACA save area size in u64 units (exgen, exmc, etc) */
|
||||
#if defined(CONFIG_RELOCATABLE)
|
||||
#define EX_CTR 72
|
||||
#define EX_SIZE 10 /* size in u64 units */
|
||||
#define EX_SIZE 10
|
||||
#else
|
||||
#define EX_SIZE 9 /* size in u64 units */
|
||||
#define EX_SIZE 9
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue