patch-2.4.25 linux-2.4.25/arch/m68k/amiga/config.c

Next file: linux-2.4.25/arch/m68k/config.in
Previous file: linux-2.4.25/arch/ia64/tools/print_offsets.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/arch/m68k/amiga/config.c linux-2.4.25/arch/m68k/amiga/config.c
@@ -877,7 +877,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;
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)