forked from luck/tmp_suning_uos_patched
[PATCH] m68knommu: fix 68360/config.c asm
Fix 68360/config.c asm to be clean for new gcc versions. Signed-off-by: Greg Ungerer <gerg@uclinux.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
0f7cfcc5bf
commit
bda6583826
@ -141,13 +141,13 @@ int BSP_set_clock_mmss (unsigned long nowtime)
|
||||
void BSP_reset (void)
|
||||
{
|
||||
local_irq_disable();
|
||||
asm volatile ("
|
||||
moveal #_start, %a0;
|
||||
moveb #0, 0xFFFFF300;
|
||||
moveal 0(%a0), %sp;
|
||||
moveal 4(%a0), %a0;
|
||||
jmp (%a0);
|
||||
");
|
||||
asm volatile (
|
||||
"moveal #_start, %a0;\n"
|
||||
"moveb #0, 0xFFFFF300;\n"
|
||||
"moveal 0(%a0), %sp;\n"
|
||||
"moveal 4(%a0), %a0;\n"
|
||||
"jmp (%a0);\n"
|
||||
);
|
||||
}
|
||||
|
||||
unsigned char *scc1_hwaddr;
|
||||
|
Loading…
Reference in New Issue
Block a user