Commit 1431c775 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] Amiga debug fix

From: Geert Uytterhoeven <geert@linux-m68k.org>

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()
parent 65e5c502
......@@ -803,7 +803,7 @@ static void amiga_savekmsg_init(void)
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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment