diff options
Diffstat (limited to 'arch/m68k/mac')
-rw-r--r-- | arch/m68k/mac/misc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/m68k/mac/misc.c b/arch/m68k/mac/misc.c index 99dd2c1e9f44..bbb0c3b95e9c 100644 --- a/arch/m68k/mac/misc.c +++ b/arch/m68k/mac/misc.c | |||
@@ -572,12 +572,13 @@ void mac_reset(void) | |||
572 | /* make a 1-to-1 mapping, using the transparent tran. reg. */ | 572 | /* make a 1-to-1 mapping, using the transparent tran. reg. */ |
573 | unsigned long virt = (unsigned long) mac_reset; | 573 | unsigned long virt = (unsigned long) mac_reset; |
574 | unsigned long phys = virt_to_phys(mac_reset); | 574 | unsigned long phys = virt_to_phys(mac_reset); |
575 | unsigned long addr = (phys&0xFF000000)|0x8777; | ||
575 | unsigned long offset = phys-virt; | 576 | unsigned long offset = phys-virt; |
576 | local_irq_disable(); /* lets not screw this up, ok? */ | 577 | local_irq_disable(); /* lets not screw this up, ok? */ |
577 | __asm__ __volatile__(".chip 68030\n\t" | 578 | __asm__ __volatile__(".chip 68030\n\t" |
578 | "pmove %0,%/tt0\n\t" | 579 | "pmove %0,%/tt0\n\t" |
579 | ".chip 68k" | 580 | ".chip 68k" |
580 | : : "m" ((phys&0xFF000000)|0x8777)); | 581 | : : "m" (addr)); |
581 | /* Now jump to physical address so we can disable MMU */ | 582 | /* Now jump to physical address so we can disable MMU */ |
582 | __asm__ __volatile__( | 583 | __asm__ __volatile__( |
583 | ".chip 68030\n\t" | 584 | ".chip 68030\n\t" |