Skip to content

Commit

Permalink
powerpc/64s/paca: EX_CTR is not used with RELOCATABLE=n, remove it
Browse files Browse the repository at this point in the history
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
  • Loading branch information
Nicholas Piggin authored and Michael Ellerman committed Jun 20, 2017
1 parent 635942a commit 8568f1e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion arch/powerpc/include/asm/exception-64s.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,12 @@
#define EX_CCR 52
#define EX_CFAR 56
#define EX_PPR 64
#if defined(CONFIG_RELOCATABLE)
#define EX_CTR 72

#define EX_SIZE 10 /* size in u64 units */
#else
#define EX_SIZE 9 /* size in u64 units */
#endif

/*
* EX_LR is only used in EXSLB and where it does not overlap with EX_DAR
Expand Down

0 comments on commit 8568f1e

Please sign in to comment.