mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-05 01:54:09 +08:00
[PATCH] m68knommu: fix 68EZ328/config.c asm
Fix 68EZ328/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
69614fc66a
commit
3448ff8967
@ -42,13 +42,13 @@ void m68328_timer_gettod(int *year, int *mon, int *day, int *hour, int *min, int
|
|||||||
void m68ez328_reset(void)
|
void m68ez328_reset(void)
|
||||||
{
|
{
|
||||||
local_irq_disable();
|
local_irq_disable();
|
||||||
asm volatile ("
|
asm volatile (
|
||||||
moveal #0x10c00000, %a0;
|
"moveal #0x10c00000, %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"
|
||||||
");
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/***************************************************************************/
|
/***************************************************************************/
|
||||||
|
Loading…
Reference in New Issue
Block a user