Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/alpha/alpha Correct conditionalization of last change.
details: https://anonhg.NetBSD.org/src/rev/4d1d7fb6e653
branches: trunk
changeset: 499416:4d1d7fb6e653
user: sommerfeld <sommerfeld%NetBSD.org@localhost>
date: Sun Nov 19 20:11:12 2000 +0000
description:
Correct conditionalization of last change.
diffstat:
sys/arch/alpha/alpha/locore.s | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (32 lines):
diff -r f49c4da42326 -r 4d1d7fb6e653 sys/arch/alpha/alpha/locore.s
--- a/sys/arch/alpha/alpha/locore.s Sun Nov 19 20:08:36 2000 +0000
+++ b/sys/arch/alpha/alpha/locore.s Sun Nov 19 20:11:12 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.s,v 1.81 2000/11/19 20:08:36 sommerfeld Exp $ */
+/* $NetBSD: locore.s,v 1.82 2000/11/19 20:11:12 sommerfeld Exp $ */
/*-
* Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@@ -77,7 +77,7 @@
#include <machine/asm.h>
-__KERNEL_RCSID(0, "$NetBSD: locore.s,v 1.81 2000/11/19 20:08:36 sommerfeld Exp $");
+__KERNEL_RCSID(0, "$NetBSD: locore.s,v 1.82 2000/11/19 20:11:12 sommerfeld Exp $");
#include "assym.h"
@@ -772,10 +772,12 @@
/* Note: GET_CURPROC clobbers v0, t0, t8...t11. */
GET_CURPROC
stq zero, 0(v0) /* curproc <- NULL for stats */
-#if defined(MULTIPROCESSOR) || defined(LOCKDEBUG)
+#if defined(MULTIPROCESSOR)
GET_IDLE_PCB(a0)
SWITCH_CONTEXT
mov zero,s0 /* no outgoing proc */
+#endif
+#if defined(MULTIPROCESSOR) || defined(LOCKDEBUG)
CALL(sched_unlock_idle) /* release sched_lock */
#endif
mov zero, a0 /* enable all interrupts */
Home |
Main Index |
Thread Index |
Old Index