diff options
Diffstat (limited to 'arch/powerpc/kernel/cpu_setup_a2.S')
-rw-r--r-- | arch/powerpc/kernel/cpu_setup_a2.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/cpu_setup_a2.S b/arch/powerpc/kernel/cpu_setup_a2.S index ebc62f42a237..61f079e05b61 100644 --- a/arch/powerpc/kernel/cpu_setup_a2.S +++ b/arch/powerpc/kernel/cpu_setup_a2.S | |||
@@ -100,19 +100,19 @@ _icswx_skip_guest: | |||
100 | lis r4,(MMUCR0_TLBSEL_I|MMUCR0_ECL)@h | 100 | lis r4,(MMUCR0_TLBSEL_I|MMUCR0_ECL)@h |
101 | mtspr SPRN_MMUCR0, r4 | 101 | mtspr SPRN_MMUCR0, r4 |
102 | li r4,A2_IERAT_SIZE-1 | 102 | li r4,A2_IERAT_SIZE-1 |
103 | PPC_ERATWE(r4,r4,3) | 103 | PPC_ERATWE(R4,R4,3) |
104 | 104 | ||
105 | /* Now set the D-ERAT watermark to 31 */ | 105 | /* Now set the D-ERAT watermark to 31 */ |
106 | lis r4,(MMUCR0_TLBSEL_D|MMUCR0_ECL)@h | 106 | lis r4,(MMUCR0_TLBSEL_D|MMUCR0_ECL)@h |
107 | mtspr SPRN_MMUCR0, r4 | 107 | mtspr SPRN_MMUCR0, r4 |
108 | li r4,A2_DERAT_SIZE-1 | 108 | li r4,A2_DERAT_SIZE-1 |
109 | PPC_ERATWE(r4,r4,3) | 109 | PPC_ERATWE(R4,R4,3) |
110 | 110 | ||
111 | /* And invalidate the beast just in case. That won't get rid of | 111 | /* And invalidate the beast just in case. That won't get rid of |
112 | * a bolted entry though it will be in LRU and so will go away eventually | 112 | * a bolted entry though it will be in LRU and so will go away eventually |
113 | * but let's not bother for now | 113 | * but let's not bother for now |
114 | */ | 114 | */ |
115 | PPC_ERATILX(0,0,0) | 115 | PPC_ERATILX(0,0,R0) |
116 | 1: | 116 | 1: |
117 | blr | 117 | blr |
118 | 118 | ||