patch-1.3.96 linux/arch/sparc/kernel/process.c
Next file: linux/arch/sparc/kernel/ptrace.c
Previous file: linux/arch/sparc/kernel/irq.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Thu Apr 25 13:22:05 1996
- Orig file:
v1.3.95/linux/arch/sparc/kernel/process.c
- Orig date:
Wed Apr 24 17:00:35 1996
diff -u --recursive --new-file v1.3.95/linux/arch/sparc/kernel/process.c linux/arch/sparc/kernel/process.c
@@ -1,4 +1,4 @@
-/* $Id: process.c,v 1.49 1996/04/20 07:37:20 davem Exp $
+/* $Id: process.c,v 1.51 1996/04/25 06:08:49 davem Exp $
* linux/arch/sparc/kernel/process.c
*
* Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
@@ -78,12 +78,9 @@
volatile int *spap = &smp_process_available;
volatile int cval;
- current->priority = -50;
while(1) {
if(0==read_smp_counter(spap))
continue;
- while(*spap == -1)
- ;
cli();
/* Acquire exclusive access. */
while((cval = smp_swap(spap, -1)) == -1)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this