Amiga debug fix
Geert Uytterhoeven
maintainerPATCH 1/1 Amiga debug fix
Amiga: Fix `debug=mem' (record all kernel messages in ChipRAM): virt_to_phys() no longer works for Zorro II memory space, we must use ZTWO_PADDR()
arch/m68k/amiga/config.c +1 -1
@@ -803,7 +803,7 @@ savekmsg =amiga_chip_alloc_res (SAVEKMSG_MAXMEM , &debug_res); savekmsg->magic1 =SAVEKMSG_MAGIC1 ; savekmsg->magic2 =SAVEKMSG_MAGIC2 ; - savekmsg->magicptr =virt_to_phys (savekmsg); + savekmsg->magicptr =ZTWO_PADDR (savekmsg); savekmsg->size =0 ; }
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds