Commit bda65838 authored by Greg Ungerer's avatar Greg Ungerer Committed by Linus Torvalds

[PATCH] m68knommu: fix 68360/config.c asm

Fix 68360/config.c asm to be clean for new gcc versions.
Signed-off-by: default avatarGreg Ungerer <gerg@uclinux.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 0f7cfcc5
...@@ -141,13 +141,13 @@ int BSP_set_clock_mmss (unsigned long nowtime) ...@@ -141,13 +141,13 @@ int BSP_set_clock_mmss (unsigned long nowtime)
void BSP_reset (void) void BSP_reset (void)
{ {
local_irq_disable(); local_irq_disable();
asm volatile (" asm volatile (
moveal #_start, %a0; "moveal #_start, %a0;\n"
moveb #0, 0xFFFFF300; "moveb #0, 0xFFFFF300;\n"
moveal 0(%a0), %sp; "moveal 0(%a0), %sp;\n"
moveal 4(%a0), %a0; "moveal 4(%a0), %a0;\n"
jmp (%a0); "jmp (%a0);\n"
"); );
} }
unsigned char *scc1_hwaddr; unsigned char *scc1_hwaddr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment