patch-2.0.30 linux/kernel/fork.c

Next file: linux/kernel/ksyms.c
Previous file: linux/include/scsi/scsi.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.29/linux/kernel/fork.c linux/kernel/fork.c
@@ -282,7 +282,7 @@
 	/* ok, now we should be set up.. */
 	p->swappable = 1;
 	p->exit_signal = clone_flags & CSIGNAL;
-	p->counter = current->counter >> 1;
+	p->counter = (current->counter >>= 1);
 	wake_up_process(p);			/* do this last, just in case */
 	++total_forks;
 	return p->pid;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov