Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/arm Make this actually compile on acorn32.



details:   https://anonhg.NetBSD.org/src/rev/b1f044212e43
branches:  trunk
changeset: 520533:b1f044212e43
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Sun Jan 13 14:39:13 2002 +0000

description:
Make this actually compile on acorn32.

diffstat:

 sys/arch/arm/arm/syscall.c |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (40 lines):

diff -r 61a0c1604f6e -r b1f044212e43 sys/arch/arm/arm/syscall.c
--- a/sys/arch/arm/arm/syscall.c        Sun Jan 13 14:31:44 2002 +0000
+++ b/sys/arch/arm/arm/syscall.c        Sun Jan 13 14:39:13 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: syscall.c,v 1.1 2002/01/12 20:02:13 bjh21 Exp $        */
+/*     $NetBSD: syscall.c,v 1.2 2002/01/13 14:39:13 bjh21 Exp $        */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -81,10 +81,11 @@
 
 #include <sys/param.h>
 
-__RCSID("$NetBSD: syscall.c,v 1.1 2002/01/12 20:02:13 bjh21 Exp $");
+__RCSID("$NetBSD: syscall.c,v 1.2 2002/01/13 14:39:13 bjh21 Exp $");
 
 #include <sys/device.h>
 #include <sys/errno.h>
+#include <sys/kernel.h>
 #include <sys/reboot.h>
 #include <sys/signalvar.h>
 #include <sys/syscall.h>
@@ -106,7 +107,7 @@
 
 #ifdef CPU_ARM7
 struct evcnt arm700bugcount =
-    EVCNT_INITIALISER(EVCNT_TYPE_MISC, NULL, "cpu", "arm700swibug");
+    EVCNT_INITIALIZER(EVCNT_TYPE_MISC, NULL, "cpu", "arm700swibug");
 #endif
 
 void
@@ -248,7 +249,7 @@
 #endif
 #ifdef KTRACE
        if (KTRPOINT(p, KTR_SYSCALL))
-               ktrsyscall(p, code, argsize, args);
+               ktrsyscall(p, code, nargs * sizeof(register_t), args);
 #endif
 
        rval[0] = 0;



Home | Main Index | Thread Index | Old Index