Don't count context switches here, they are already counted in mi_switch().

This commit is contained in:
Bruce Evans 1995-01-21 15:20:23 +00:00
parent d7e3a89f1f
commit e6891db8c5
3 changed files with 3 additions and 12 deletions

View File

@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: swtch.s,v 1.17 1994/10/30 20:09:13 bde Exp $
* $Id: swtch.s,v 1.18 1994/12/03 10:02:22 bde Exp $
*/
#include "npx.h" /* for NNPX */
@ -280,10 +280,7 @@ badsw:
* cpu_switch()
*/
ENTRY(cpu_switch)
incl _cnt+V_SWTCH
/* switch to new process. first, save context as needed */
movl _curproc,%ecx
/* if no process to save, don't bother */

View File

@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: swtch.s,v 1.17 1994/10/30 20:09:13 bde Exp $
* $Id: swtch.s,v 1.18 1994/12/03 10:02:22 bde Exp $
*/
#include "npx.h" /* for NNPX */
@ -280,10 +280,7 @@ badsw:
* cpu_switch()
*/
ENTRY(cpu_switch)
incl _cnt+V_SWTCH
/* switch to new process. first, save context as needed */
movl _curproc,%ecx
/* if no process to save, don't bother */

View File

@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: swtch.s,v 1.17 1994/10/30 20:09:13 bde Exp $
* $Id: swtch.s,v 1.18 1994/12/03 10:02:22 bde Exp $
*/
#include "npx.h" /* for NNPX */
@ -280,10 +280,7 @@ badsw:
* cpu_switch()
*/
ENTRY(cpu_switch)
incl _cnt+V_SWTCH
/* switch to new process. first, save context as needed */
movl _curproc,%ecx
/* if no process to save, don't bother */