patch-2.1.120 linux/arch/m68k/atari/config.c

Next file: linux/arch/m68k/atari/joystick.c
Previous file: linux/arch/m68k/atari/atasound.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.119/linux/arch/m68k/atari/config.c linux/arch/m68k/atari/config.c
@@ -39,6 +39,7 @@
 #include <asm/system.h>
 #include <asm/machdep.h>
 #include <asm/hwtest.h>
+#include <asm/io.h>
 
 u_long atari_mch_cookie;
 u_long atari_mch_type = 0;
@@ -616,7 +617,7 @@
 	 : : : "d0" );
     
     if (CPU_IS_040_OR_060) {
-        unsigned long jmp_addr040 = VTOP(&&jmp_addr_label040);
+        unsigned long jmp_addr040 = virt_to_phys(&&jmp_addr_label040);
 	if (CPU_IS_060) {
 	    /* 68060: clear PCR to turn off superscalar operation */
 	    __asm__ __volatile__

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov