summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/ia64/ia64/trap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ia64/ia64/trap.c b/sys/ia64/ia64/trap.c
index 8d6d719..d174737 100644
--- a/sys/ia64/ia64/trap.c
+++ b/sys/ia64/ia64/trap.c
@@ -612,7 +612,7 @@ syscall(int code, u_int64_t *args, struct trapframe *framep)
/*
* Try to run the syscall without Giant if the syscall is MP safe.
*/
- if ((callp->sys_narg & SYS_MPSAFE) == 0)
+ if ((callp->sy_narg & SYF_MPSAFE) == 0)
mtx_lock(&Giant);
#ifdef KTRACE
if (KTRPOINT(p, KTR_SYSCALL))
OpenPOWER on IntegriCloud