diff options
-rw-r--r-- | asm/head.S | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -114,7 +114,6 @@ hdat_entry: li %r4,0x200 b _exception 1: - LOAD_IMM64(%r30, SKIBOOT_BASE) cmpdi %r3,0x1 bne 2f /* state loss */ LOAD_IMM32(%r3, reset_resume - __head) @@ -122,7 +121,8 @@ hdat_entry: 2: LOAD_IMM32(%r3, reset_wakeup - __head) 3: - add %r3,%r30,%r3 + LOAD_IMM64(%r5, SKIBOOT_BASE) + add %r3,%r5,%r3 mtctr %r3 li %r3,0x200 bctr @@ -567,7 +567,6 @@ reset_patch_start: li %r4,0x100 b _exception + (reset_patch_start - sreset_vector) 1: - LOAD_IMM64(%r30, SKIBOOT_BASE) cmpdi %r3,0x1 bne 2f /* state loss */ LOAD_IMM32(%r3, reset_resume - __head) @@ -575,7 +574,8 @@ reset_patch_start: 2: LOAD_IMM32(%r3, reset_wakeup - __head) 3: - add %r3,%r30,%r3 + LOAD_IMM64(%r5, SKIBOOT_BASE) + add %r3,%r5,%r3 mtctr %r3 li %r3,0x100 bctr |