aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/ppc_asm.h
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2015-11-25 14:25:18 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2015-12-17 22:40:57 +1100
commitd8725ce86c37fa750fc01f739ee4d4ced39167da (patch)
treecc3aac8bbcd0219dd6176c70683030a5f1f5bdb0 /arch/powerpc/include/asm/ppc_asm.h
parentpowerpc/kernel: Open code HMT_MEDIUM_LOW_HAS_PPR (diff)
downloadlinux-dev-d8725ce86c37fa750fc01f739ee4d4ced39167da.tar.xz
linux-dev-d8725ce86c37fa750fc01f739ee4d4ced39167da.zip
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.h13
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 67f05d4935a0..499d9f89435a 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
/*