diff options
Diffstat (limited to 'arch/sparc/kernel/ktlb.S')
-rw-r--r-- | arch/sparc/kernel/ktlb.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/sparc/kernel/ktlb.S b/arch/sparc/kernel/ktlb.S index 2627a7fa33d9..ef0d8e9e1210 100644 --- a/arch/sparc/kernel/ktlb.S +++ b/arch/sparc/kernel/ktlb.S | |||
@@ -199,8 +199,8 @@ kvmap_dtlb_nonlinear: | |||
199 | 199 | ||
200 | #ifdef CONFIG_SPARSEMEM_VMEMMAP | 200 | #ifdef CONFIG_SPARSEMEM_VMEMMAP |
201 | /* Do not use the TSB for vmemmap. */ | 201 | /* Do not use the TSB for vmemmap. */ |
202 | mov (VMEMMAP_BASE >> 40), %g5 | 202 | sethi %hi(VMEMMAP_BASE), %g5 |
203 | sllx %g5, 40, %g5 | 203 | ldx [%g5 + %lo(VMEMMAP_BASE)], %g5 |
204 | cmp %g4,%g5 | 204 | cmp %g4,%g5 |
205 | bgeu,pn %xcc, kvmap_vmemmap | 205 | bgeu,pn %xcc, kvmap_vmemmap |
206 | nop | 206 | nop |
@@ -212,8 +212,8 @@ kvmap_dtlb_tsbmiss: | |||
212 | sethi %hi(MODULES_VADDR), %g5 | 212 | sethi %hi(MODULES_VADDR), %g5 |
213 | cmp %g4, %g5 | 213 | cmp %g4, %g5 |
214 | blu,pn %xcc, kvmap_dtlb_longpath | 214 | blu,pn %xcc, kvmap_dtlb_longpath |
215 | mov (VMALLOC_END >> 40), %g5 | 215 | sethi %hi(VMALLOC_END), %g5 |
216 | sllx %g5, 40, %g5 | 216 | ldx [%g5 + %lo(VMALLOC_END)], %g5 |
217 | cmp %g4, %g5 | 217 | cmp %g4, %g5 |
218 | bgeu,pn %xcc, kvmap_dtlb_longpath | 218 | bgeu,pn %xcc, kvmap_dtlb_longpath |
219 | nop | 219 | nop |