Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm26/arm26 Add a comment before the call to preemp...



details:   https://anonhg.NetBSD.org/src/rev/1ba7c440c1d4
branches:  trunk
changeset: 486527:1ba7c440c1d4
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed May 24 17:29:41 2000 +0000

description:
Add a comment before the call to preempt() to be consistent with
other ports (i.e. I just added the comment, and arm26 already used
preempt).

diffstat:

 sys/arch/arm26/arm26/except.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 3ea34ee138de -r 1ba7c440c1d4 sys/arch/arm26/arm26/except.c
--- a/sys/arch/arm26/arm26/except.c     Wed May 24 17:28:05 2000 +0000
+++ b/sys/arch/arm26/arm26/except.c     Wed May 24 17:29:41 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: except.c,v 1.2 2000/05/14 22:50:01 bjh21 Exp $ */
+/* $NetBSD: except.c,v 1.3 2000/05/24 17:29:41 thorpej Exp $ */
 /*-
  * Copyright (c) 1998, 1999, 2000 Ben Harris
  * All rights reserved.
@@ -32,7 +32,7 @@
 
 #include <sys/param.h>
 
-__KERNEL_RCSID(0, "$NetBSD: except.c,v 1.2 2000/05/14 22:50:01 bjh21 Exp $");
+__KERNEL_RCSID(0, "$NetBSD: except.c,v 1.3 2000/05/24 17:29:41 thorpej Exp $");
 
 #include "opt_cputypes.h"
 #include "opt_ddb.h"
@@ -86,6 +86,9 @@
                postsig(sig);
        p->p_priority = p->p_usrpri;
        if (want_resched) {
+               /*
+                * We are being preempted.
+                */
                preempt(NULL);
                while ((sig = CURSIG(p)) != 0)
                        postsig(sig);



Home | Main Index | Thread Index | Old Index