Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 May 2002 17:30:40 -0700 (PDT)
From:      Jonathan Mini <mini@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 11564 for review
Message-ID:  <200205200030.g4K0UeN48652@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=11564

Change 11564 by mini@mini_stylus on 2002/05/19 17:29:42

	Remove #if 0'd code that we are still trying to keep from bitrot
	that not only wouldn't work, but wouldn't compile either.

Affected files ...

... //depot/projects/kse/sys/fs/procfs/procfs_ioctl.c#5 edit

Differences ...

==== //depot/projects/kse/sys/fs/procfs/procfs_ioctl.c#5 (text+ko) ====

@@ -91,25 +91,10 @@
 			error = EINVAL;
 			break;
 		}
-#if 0
-		mtx_lock_spin(&sched_lock);
-		p->p_step = 0;
-		if (P_SHOULDSTOP(p)) {
-			p->p_xstat = sig;
-			p->flag &= ~(P_STOPPED_TRACE|P_STOPPED_SGNL):
-			setrunnable(&p->p_thread);
-			mtx_unlock_spin(&sched_lock);
-		} else {
-			mtx_unlock_spin(&sched_lock);
-			if (sig)
-				psignal(p, sig);
-		}
-#else
 		if (sig)
 			psignal(p, sig);
 		p->p_step = 0;
 		wakeup(&p->p_step);
-#endif
 		break;
 	default:
 		error = (ENOTTY);

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205200030.g4K0UeN48652>