Module Name:    src
Committed By:   matt
Date:           Sat Aug 22 17:05:21 UTC 2009

Modified Files:
        src/sys/sys [matt-nb5-mips64]: systm.h

Log Message:
Use correct shift count (off by 1).


To generate a diff of this commit:
cvs rdiff -u -r1.228.4.2.4.1 -r1.228.4.2.4.2 src/sys/sys/systm.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/sys/systm.h
diff -u src/sys/sys/systm.h:1.228.4.2.4.1 src/sys/sys/systm.h:1.228.4.2.4.2
--- src/sys/sys/systm.h:1.228.4.2.4.1	Sat Aug 22 00:13:24 2009
+++ src/sys/sys/systm.h	Sat Aug 22 17:05:21 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: systm.h,v 1.228.4.2.4.1 2009/08/22 00:13:24 matt Exp $	*/
+/*	$NetBSD: systm.h,v 1.228.4.2.4.2 2009/08/22 17:05:21 matt Exp $	*/
 
 /*-
  * Copyright (c) 1982, 1988, 1991, 1993
@@ -141,7 +141,7 @@
 #define SYCALL_ARG7_64  0x1000000
 #define SYCALL_RET_64_P(sy)	((sy)->sy_flags & SYCALL_RET_64)
 #define SYCALL_ARG_64_P(sy, n)	((sy)->sy_flags & (SYCALL_ARG0_64 << (n)))
-#define	SYCALL_ARG_64_MASK(sy)	(((sy)->sy_flags >> 16) & 0xff)
+#define	SYCALL_ARG_64_MASK(sy)	(((sy)->sy_flags >> 17) & 0xff)
 #define	SYCALL_NARGS64(sy)	(((sy)->sy_flags >> 12) & 0x0f)
 #define	SYCALL_NARGS64_VAL(n)	((n) << 12)
 

Reply via email to