patch-2.4.6 linux/drivers/macintosh/via-pmu.c

Next file: linux/drivers/md/md.c
Previous file: linux/drivers/macintosh/macserial.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.5/linux/drivers/macintosh/via-pmu.c linux/drivers/macintosh/via-pmu.c
@@ -1431,7 +1431,7 @@
  		_set_L2CR(save_l2cr);
 	
 	/* Restore userland MMU context */
-	set_context(current->mm->context, current->mm->pgd);
+	set_context(current->mm->context);
 
 	/* Re-enable DEC interrupts and kick DEC */
 	asm volatile("mtdec %0" : : "r" (0x7fffffff));
@@ -1560,7 +1560,7 @@
 	feature_wake_up();
 	pbook_pci_restore();
 
-	set_context(current->mm->context, current->mm->pgd);
+	set_context(current->mm->context);
 
 	/* 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)