Resent-Date: Tue, 10 Aug 1999 10:13:22 +0200 (MET DST)
Date: Tue, 10 Aug 1999 10:12:58 +0200 (MET DST)
From: Roman Zippel <zippel@fh-brandenburg.de>
X-Sender: zippel@zeus
To: Geert Uytterhoeven <Geert.Uytterhoeven@cs.kuleuven.ac.be>
cc: Linux/m68k <linux-m68k@lists.linux-m68k.org>
Subject: Re: 2.3.12
In-Reply-To: <Pine.LNX.4.10.9908082344550.23564-100000@mercator.cs.kuleuven.ac.be>
Resent-From: linux-m68k@phil.uni-sb.de
Reply-To: linux-m68k@phil.uni-sb.de

Hi,

> It boots on my A4000/040, but oopses (non-fatal):

Hmm, it was a cache problem, the patch below fixes it.

bye, Roman

--- include/asm/pgtable.h.org	Mon Aug  9 23:03:01 1999
+++ include/asm/pgtable.h	Mon Aug  9 22:36:20 1999
@@ -147,7 +147,7 @@
 				  "cpushp %%dc,(%0)\n\t"
 				  "cinvp %%ic,(%0)\n\t"
 				  ".chip 68k"
-				  : : "a" (__pa((void *)address)));
+				  : : "a" (virt_to_phys((void *)address)));
 	    address += PAGE_SIZE;
 	}
     }

