diff options
| author | Anton Blanchard <anton@samba.org> | 2002-05-02 13:01:43 +1000 |
|---|---|---|
| committer | Anton Blanchard <anton@samba.org> | 2002-05-02 13:01:43 +1000 |
| commit | de8aec0426f98611dff9d3d557785ac2873653e2 (patch) | |
| tree | 1602867519d82cd45941ad24fe1bc53712f062f7 /include/asm-ppc64/processor.h | |
| parent | e8812777bc1b1f24890e24519000876f888543ec (diff) | |
ppc64: Only implement thread priority macros on HMT or iSeries kernels
Drop back to eieio in spinlocks for the moment due to performance
issues of sync on power3
Diffstat (limited to 'include/asm-ppc64/processor.h')
| -rw-r--r-- | include/asm-ppc64/processor.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/asm-ppc64/processor.h b/include/asm-ppc64/processor.h index cdcee424cc79..0c1ce4752259 100644 --- a/include/asm-ppc64/processor.h +++ b/include/asm-ppc64/processor.h @@ -589,11 +589,6 @@ GLUE(GLUE(.LT,NAME),_procname_end): #define CTRLF 0x088 #define RUNLATCH 0x0001 -/* Macros for adjusting thread priority (hardware multi-threading) */ -#define HMT_low() asm volatile("or 1,1,1") -#define HMT_medium() asm volatile("or 2,2,2") -#define HMT_high() asm volatile("or 3,3,3") - /* Size of an exception stack frame contained in the paca. */ #define EXC_FRAME_SIZE 64 |
