Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amd64/amd64 Correct argument to preempt().
details: https://anonhg.NetBSD.org/src/rev/269cbc71f094
branches: trunk
changeset: 553729:269cbc71f094
user: fvdl <fvdl%NetBSD.org@localhost>
date: Tue Oct 21 00:46:09 2003 +0000
description:
Correct argument to preempt().
diffstat:
sys/arch/amd64/amd64/trap.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 75716a0718b9 -r 269cbc71f094 sys/arch/amd64/amd64/trap.c
--- a/sys/arch/amd64/amd64/trap.c Tue Oct 21 00:39:03 2003 +0000
+++ b/sys/arch/amd64/amd64/trap.c Tue Oct 21 00:46:09 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.12 2003/10/08 19:58:54 fvdl Exp $ */
+/* $NetBSD: trap.c,v 1.13 2003/10/21 00:46:09 fvdl Exp $ */
/*-
* Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -75,7 +75,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.12 2003/10/08 19:58:54 fvdl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.13 2003/10/21 00:46:09 fvdl Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@@ -370,7 +370,7 @@
}
/* Allow a forced task switch. */
if (curcpu()->ci_want_resched)
- preempt(NULL);
+ preempt(0);
goto out;
case T_DNA|T_USER: {
Home |
Main Index |
Thread Index |
Old Index