patch-2.3.20 linux/arch/ppc/kernel/process.c

Next file: linux/arch/ppc/kernel/prom.c
Previous file: linux/arch/ppc/kernel/prep_setup.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.19/linux/arch/ppc/kernel/process.c linux/arch/ppc/kernel/process.c
@@ -1,5 +1,5 @@
 /*
- * $Id: process.c,v 1.95 1999/08/31 06:54:07 davem Exp $
+ * $Id: process.c,v 1.97 1999/09/14 19:07:42 cort Exp $
  *
  *  linux/arch/ppc/kernel/process.c
  *
@@ -162,7 +162,7 @@
 	  struct task_struct **last)
 {
 	struct thread_struct *new_thread, *old_thread;
-	int s;
+	unsigned long s;
 	
 	__save_flags(s);
 	__cli();
@@ -513,7 +513,7 @@
 	 * vidmem just needs to be setup for it.
 	 * -- Cort
 	 */
-	if ( ! is_prep )
+	if ( _machine != _MACH_prep )
 		return;
 	x = orig_x;
 	y = orig_y;

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