Fix typos in previous commit:
o s/sys_narg/sy_narg/ o s/SYS_MPSAFE/SYF_MPSAFE/
This commit is contained in:
parent
1d7ce16d9a
commit
8542877fb0
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user