mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-03 00:54:09 +08:00
[PATCH] m68knommu: fix 68VZ328/config.c asm
Fix 68VZ328/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
bda6583826
commit
69614fc66a
@ -141,13 +141,13 @@ static void init_hardware(char *command, int size)
|
||||
static void m68vz328_reset(void)
|
||||
{
|
||||
local_irq_disable();
|
||||
asm volatile ("
|
||||
moveal #0x10c00000, %a0;
|
||||
moveb #0, 0xFFFFF300;
|
||||
moveal 0(%a0), %sp;
|
||||
moveal 4(%a0), %a0;
|
||||
jmp (%a0);
|
||||
");
|
||||
asm volatile (
|
||||
"moveal #0x10c00000, %a0;\n\t"
|
||||
"moveb #0, 0xFFFFF300;\n\t"
|
||||
"moveal 0(%a0), %sp;\n\t"
|
||||
"moveal 4(%a0), %a0;\n\t"
|
||||
"jmp (%a0);\n"
|
||||
);
|
||||
}
|
||||
|
||||
unsigned char *cs8900a_hwaddr;
|
||||
|
Loading…
Reference in New Issue
Block a user