diff options
author | Magnus Damm <damm@igel.co.jp> | 2009-03-18 04:47:31 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-03-18 05:44:22 -0400 |
commit | 7be5c55af0cc58e54e42e1702d837527e15b8414 (patch) | |
tree | 87d6ecab0ff11b0b75053bf57ee462a99828f981 /arch/sh/kernel/relocate_kernel.S | |
parent | c20351846efcb755ba849d9fb701fbd9a1ffb7c2 (diff) |
sh: simplify kexec vbr code
Setup the vbr register in machine_kexec(). This
instead of passing values to the assembly snippet.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/relocate_kernel.S')
-rw-r--r-- | arch/sh/kernel/relocate_kernel.S | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/sh/kernel/relocate_kernel.S b/arch/sh/kernel/relocate_kernel.S index c66cb3209db5..8b50b2c873a4 100644 --- a/arch/sh/kernel/relocate_kernel.S +++ b/arch/sh/kernel/relocate_kernel.S | |||
@@ -16,7 +16,6 @@ relocate_new_kernel: | |||
16 | /* r4 = indirection_page */ | 16 | /* r4 = indirection_page */ |
17 | /* r5 = reboot_code_buffer */ | 17 | /* r5 = reboot_code_buffer */ |
18 | /* r6 = start_address */ | 18 | /* r6 = start_address */ |
19 | /* r7 = vbr_reg */ | ||
20 | 19 | ||
21 | mov.l 10f,r8 /* PAGE_SIZE */ | 20 | mov.l 10f,r8 /* PAGE_SIZE */ |
22 | mov.l 11f,r9 /* P2SEG */ | 21 | mov.l 11f,r9 /* P2SEG */ |
@@ -80,9 +79,6 @@ relocate_new_kernel: | |||
80 | bra 0b | 79 | bra 0b |
81 | nop | 80 | nop |
82 | 6: | 81 | 6: |
83 | #ifdef CONFIG_SH_STANDARD_BIOS | ||
84 | ldc r7, vbr | ||
85 | #endif | ||
86 | jmp @r6 | 82 | jmp @r6 |
87 | nop | 83 | nop |
88 | 84 | ||