patch-2.4.0-test2 linux/drivers/macintosh/via-pmu.c

Next file: linux/drivers/net/3c503.c
Previous file: linux/drivers/macintosh/nvram.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test1/linux/drivers/macintosh/via-pmu.c linux/drivers/macintosh/via-pmu.c
@@ -1290,7 +1290,11 @@
 
 	sti();
 
-	set_context(current->mm->context);
+	/* The PGD is only a placeholder until Dan finds a way to make
+	 * this work properly on the 8xx processors.  It is only used on
+	 * 8xx processors, it is ignored here.
+	 */
+	set_context(current->mm->context, current->mm->pgd);
 
 	/* Restore L2 cache */
 	if (save_l2cr)

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