hc
2024-05-11 297b60346df8beafee954a0fd7c2d64f33f3b9bc
kernel/arch/sparc/kernel/head_32.S
....@@ -24,7 +24,7 @@
2424 #include <asm/winmacro.h>
2525 #include <asm/thread_info.h> /* TI_UWINMASK */
2626 #include <asm/errno.h>
27
-#include <asm/pgtsrmmu.h> /* SRMMU_PGDIR_SHIFT */
27
+#include <asm/pgtable.h> /* PGDIR_SHIFT */
2828 #include <asm/export.h>
2929
3030 .data
....@@ -273,7 +273,7 @@
273273 lda [%o1] ASI_M_BYPASS, %o2 ! This is the 0x0 16MB pgd
274274
275275 /* Calculate to KERNBASE entry. */
276
- add %o1, KERNBASE >> (SRMMU_PGDIR_SHIFT - 2), %o3
276
+ add %o1, KERNBASE >> (PGDIR_SHIFT - 2), %o3
277277
278278 /* Poke the entry into the calculated address. */
279279 sta %o2, [%o3] ASI_M_BYPASS
....@@ -317,7 +317,7 @@
317317 sll %g1, 0x8, %g1 ! make phys addr for l1 tbl
318318
319319 lda [%g1] ASI_M_BYPASS, %g2 ! get level1 entry for 0x0
320
- add %g1, KERNBASE >> (SRMMU_PGDIR_SHIFT - 2), %g3
320
+ add %g1, KERNBASE >> (PGDIR_SHIFT - 2), %g3
321321 sta %g2, [%g3] ASI_M_BYPASS ! place at KERNBASE entry
322322 b go_to_highmem
323323 nop ! wheee....
....@@ -341,7 +341,7 @@
341341 sll %g1, 0x8, %g1 ! make phys addr for l1 tbl
342342
343343 lda [%g1] ASI_M_BYPASS, %g2 ! get level1 entry for 0x0
344
- add %g1, KERNBASE >> (SRMMU_PGDIR_SHIFT - 2), %g3
344
+ add %g1, KERNBASE >> (PGDIR_SHIFT - 2), %g3
345345 sta %g2, [%g3] ASI_M_BYPASS ! place at KERNBASE entry
346346 b go_to_highmem
347347 nop ! wheee....