Source-Changes-HG archive

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

[src/trunk]: src/sys/arch NULL -> 0 for preempt() argument.



details:   https://anonhg.NetBSD.org/src/rev/e2d929cf6fc6
branches:  trunk
changeset: 553731:e2d929cf6fc6
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Tue Oct 21 00:49:34 2003 +0000

description:
NULL -> 0 for preempt() argument.

diffstat:

 sys/arch/amiga/amiga/trap.c |  6 +++---
 sys/arch/hppa/hppa/trap.c   |  6 +++---
 sys/arch/pc532/pc532/trap.c |  6 +++---
 sys/arch/sh5/sh5/trap.c     |  6 +++---
 4 files changed, 12 insertions(+), 12 deletions(-)

diffs (108 lines):

diff -r 66d3a91491e1 -r e2d929cf6fc6 sys/arch/amiga/amiga/trap.c
--- a/sys/arch/amiga/amiga/trap.c       Tue Oct 21 00:47:46 2003 +0000
+++ b/sys/arch/amiga/amiga/trap.c       Tue Oct 21 00:49:34 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.c,v 1.96 2003/10/08 00:28:41 thorpej Exp $        */
+/*     $NetBSD: trap.c,v 1.97 2003/10/21 00:49:34 fvdl Exp $   */
 
 /*
  * Copyright (c) 1982, 1986, 1990 The Regents of the University of California.
@@ -83,7 +83,7 @@
 #include "opt_fpu_emulate.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.96 2003/10/08 00:28:41 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.97 2003/10/21 00:49:34 fvdl Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -794,7 +794,7 @@
                        ADDUPROF(p);
                }
                if (want_resched)
-                       preempt(NULL);
+                       preempt(0);
 
                userret(l, frame.f_pc, sticks);
                return;
diff -r 66d3a91491e1 -r e2d929cf6fc6 sys/arch/hppa/hppa/trap.c
--- a/sys/arch/hppa/hppa/trap.c Tue Oct 21 00:47:46 2003 +0000
+++ b/sys/arch/hppa/hppa/trap.c Tue Oct 21 00:49:34 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.c,v 1.10 2003/10/13 21:12:12 cl Exp $     */
+/*     $NetBSD: trap.c,v 1.11 2003/10/21 00:49:34 fvdl Exp $   */
 
 /*-
  * Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -69,7 +69,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.10 2003/10/13 21:12:12 cl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.11 2003/10/21 00:49:34 fvdl Exp $");
 
 /* #define INTRDEBUG */
 /* #define TRAPDEBUG */
@@ -202,7 +202,7 @@
                /*
                 * We're being preempted.
                 */
-               preempt(NULL);
+               preempt(0);
                while ((sig = CURSIG(l)) != 0)
                        postsig(sig);
        }
diff -r 66d3a91491e1 -r e2d929cf6fc6 sys/arch/pc532/pc532/trap.c
--- a/sys/arch/pc532/pc532/trap.c       Tue Oct 21 00:47:46 2003 +0000
+++ b/sys/arch/pc532/pc532/trap.c       Tue Oct 21 00:49:34 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.c,v 1.56 2003/09/20 23:44:07 cl Exp $     */
+/*     $NetBSD: trap.c,v 1.57 2003/10/21 00:49:34 fvdl Exp $   */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -77,7 +77,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.56 2003/09/20 23:44:07 cl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.57 2003/10/21 00:49:34 fvdl Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -155,7 +155,7 @@
                /*
                 * We are being preempted.
                 */
-               preempt(NULL);
+               preempt(0);
                while ((sig = CURSIG(l)) != 0)
                        postsig(sig);
        }
diff -r 66d3a91491e1 -r e2d929cf6fc6 sys/arch/sh5/sh5/trap.c
--- a/sys/arch/sh5/sh5/trap.c   Tue Oct 21 00:47:46 2003 +0000
+++ b/sys/arch/sh5/sh5/trap.c   Tue Oct 21 00:49:34 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.c,v 1.29 2003/10/08 00:28:42 thorpej Exp $        */
+/*     $NetBSD: trap.c,v 1.30 2003/10/21 00:49:34 fvdl Exp $   */
 
 /*
  * Copyright 2002 Wasabi Systems, Inc.
@@ -111,7 +111,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.29 2003/10/08 00:28:42 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.30 2003/10/21 00:49:34 fvdl Exp $");
 
 #include "opt_ddb.h"
 
@@ -475,7 +475,7 @@
                        ADDUPROF(p);
                }
                if (curcpu()->ci_want_resched)
-                       preempt(NULL);
+                       preempt(0);
                userret(l);
                return;
 



Home | Main Index | Thread Index | Old Index