diff options
Diffstat (limited to 'arch/arm/kernel/head.S')
-rw-r--r-- | arch/arm/kernel/head.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/kernel/head.S b/arch/arm/kernel/head.S index 239703dbdf4f..566c54c2a1fe 100644 --- a/arch/arm/kernel/head.S +++ b/arch/arm/kernel/head.S | |||
@@ -99,7 +99,7 @@ ENTRY(stext) | |||
99 | sub r4, r3, r4 @ (PHYS_OFFSET - PAGE_OFFSET) | 99 | sub r4, r3, r4 @ (PHYS_OFFSET - PAGE_OFFSET) |
100 | add r8, r8, r4 @ PHYS_OFFSET | 100 | add r8, r8, r4 @ PHYS_OFFSET |
101 | #else | 101 | #else |
102 | ldr r8, =PLAT_PHYS_OFFSET | 102 | ldr r8, =PHYS_OFFSET @ always constant in this case |
103 | #endif | 103 | #endif |
104 | 104 | ||
105 | /* | 105 | /* |
@@ -238,7 +238,7 @@ __create_page_tables: | |||
238 | * This allows debug messages to be output | 238 | * This allows debug messages to be output |
239 | * via a serial console before paging_init. | 239 | * via a serial console before paging_init. |
240 | */ | 240 | */ |
241 | addruart r7, r3 | 241 | addruart r7, r3, r0 |
242 | 242 | ||
243 | mov r3, r3, lsr #SECTION_SHIFT | 243 | mov r3, r3, lsr #SECTION_SHIFT |
244 | mov r3, r3, lsl #PMD_ORDER | 244 | mov r3, r3, lsl #PMD_ORDER |