Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm32/arm32 Slight tweak.



details:   https://anonhg.NetBSD.org/src/rev/a2c02f72068f
branches:  trunk
changeset: 500495:a2c02f72068f
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Tue Dec 12 20:49:16 2000 +0000

description:
Slight tweak.

diffstat:

 sys/arch/arm32/arm32/syscall.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r a1083b8f6828 -r a2c02f72068f sys/arch/arm32/arm32/syscall.c
--- a/sys/arch/arm32/arm32/syscall.c    Tue Dec 12 20:30:12 2000 +0000
+++ b/sys/arch/arm32/arm32/syscall.c    Tue Dec 12 20:49:16 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: syscall.c,v 1.37 2000/12/12 19:41:51 mycroft Exp $     */
+/*     $NetBSD: syscall.c,v 1.38 2000/12/12 20:49:16 mycroft Exp $     */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -212,7 +212,8 @@
                break;
        }
 
-       callp += (code & (SYS_NSYSENT - 1));
+       code &= (SYS_NSYSENT - 1);
+       callp += code;
        argsize = callp->sy_argsize;
        if (argsize <= regparams)
                args = (int *)stackargs;



Home | Main Index | Thread Index | Old Index