diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2015-11-25 14:25:18 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2015-12-17 22:40:57 +1100 |
commit | d8725ce86c37fa750fc01f739ee4d4ced39167da (patch) | |
tree | cc3aac8bbcd0219dd6176c70683030a5f1f5bdb0 /arch/powerpc/include/asm/ppc_asm.h | |
parent | d030a4b5eb7e9514c15b84a765bcc395cc26ab40 (diff) | |
download | op-kernel-dev-d8725ce86c37fa750fc01f739ee4d4ced39167da.zip op-kernel-dev-d8725ce86c37fa750fc01f739ee4d4ced39167da.tar.gz |
powerpc/kernel: Open code SET_DEFAULT_THREAD_PPR
This is only used in one location, open code it.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/ppc_asm.h')
-rw-r--r-- | arch/powerpc/include/asm/ppc_asm.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/powerpc/include/asm/ppc_asm.h b/arch/powerpc/include/asm/ppc_asm.h index 67f05d4..499d9f8 100644 --- a/arch/powerpc/include/asm/ppc_asm.h +++ b/arch/powerpc/include/asm/ppc_asm.h @@ -413,19 +413,6 @@ END_FTR_SECTION_IFCLR(CPU_FTR_601) FTR_SECTION_ELSE_NESTED(848); \ mtocrf (FXM), RS; \ ALT_FTR_SECTION_END_NESTED_IFCLR(CPU_FTR_NOEXECUTE, 848) - -/* - * PPR restore macros used in entry_64.S - * Used for P7 or later processors - */ -#define SET_DEFAULT_THREAD_PPR(ra, rb) \ -BEGIN_FTR_SECTION_NESTED(945) \ - lis ra,INIT_PPR@highest; /* default ppr=3 */ \ - ld rb,PACACURRENT(r13); \ - sldi ra,ra,32; /* 11- 13 bits are used for ppr */ \ - std ra,TASKTHREADPPR(rb); \ -END_FTR_SECTION_NESTED(CPU_FTR_HAS_PPR,CPU_FTR_HAS_PPR,945) - #endif /* |