aboutsummaryrefslogtreecommitdiff
path: root/sys/powerpc/aim
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2006-07-28 19:05:28 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2006-07-28 19:05:28 +0000
commitaf5bf12239c9c7b670a52b2d574e427da04117f7 (patch)
treecc5695072b3b30d9c9cd45487beb493d692b8a26 /sys/powerpc/aim
parente0b4add8d834e6bd7c609540ed1d0d75cff15ae6 (diff)
Notes
Diffstat (limited to 'sys/powerpc/aim')
-rw-r--r--sys/powerpc/aim/trap.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/sys/powerpc/aim/trap.c b/sys/powerpc/aim/trap.c
index 0f5961bbb269..da34c2688648 100644
--- a/sys/powerpc/aim/trap.c
+++ b/sys/powerpc/aim/trap.c
@@ -409,11 +409,6 @@ syscall(struct trapframe *frame)
if (KTRPOINT(td, KTR_SYSCALL))
ktrsyscall(code, narg, (register_t *)params);
#endif
- /*
- * Try to run the syscall without Giant if the syscall is MP safe.
- */
- if ((callp->sy_narg & SYF_MPSAFE) == 0)
- mtx_lock(&Giant);
if (error == 0) {
td->td_retval[0] = 0;
@@ -466,10 +461,6 @@ syscall(struct trapframe *frame)
break;
}
-
- if ((callp->sy_narg & SYF_MPSAFE) == 0)
- mtx_unlock(&Giant);
-
/*
* Check for misbehavior.
*/