diff options
Diffstat (limited to 'arch/parisc/kernel/head.S')
-rw-r--r-- | arch/parisc/kernel/head.S | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/parisc/kernel/head.S b/arch/parisc/kernel/head.S index 4dbdf0ed6fa0..37aabd772fbb 100644 --- a/arch/parisc/kernel/head.S +++ b/arch/parisc/kernel/head.S | |||
@@ -106,8 +106,9 @@ $bss_loop: | |||
106 | #endif | 106 | #endif |
107 | 107 | ||
108 | 108 | ||
109 | /* Now initialize the PTEs themselves */ | 109 | /* Now initialize the PTEs themselves. We use RWX for |
110 | ldo 0+_PAGE_KERNEL(%r0),%r3 /* Hardwired 0 phys addr start */ | 110 | * everything ... it will get remapped correctly later */ |
111 | ldo 0+_PAGE_KERNEL_RWX(%r0),%r3 /* Hardwired 0 phys addr start */ | ||
111 | ldi (1<<(KERNEL_INITIAL_ORDER-PAGE_SHIFT)),%r11 /* PFN count */ | 112 | ldi (1<<(KERNEL_INITIAL_ORDER-PAGE_SHIFT)),%r11 /* PFN count */ |
112 | load32 PA(pg0),%r1 | 113 | load32 PA(pg0),%r1 |
113 | 114 | ||
@@ -131,7 +132,7 @@ $pgt_fill_loop: | |||
131 | ldo THREAD_SZ_ALGN(%r6),%sp | 132 | ldo THREAD_SZ_ALGN(%r6),%sp |
132 | 133 | ||
133 | #ifdef CONFIG_SMP | 134 | #ifdef CONFIG_SMP |
134 | /* Set the smp rendevous address into page zero. | 135 | /* Set the smp rendezvous address into page zero. |
135 | ** It would be safer to do this in init_smp_config() but | 136 | ** It would be safer to do this in init_smp_config() but |
136 | ** it's just way easier to deal with here because | 137 | ** it's just way easier to deal with here because |
137 | ** of 64-bit function ptrs and the address is local to this file. | 138 | ** of 64-bit function ptrs and the address is local to this file. |