summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2004-01-28 06:48:31 +0000
committerrwatson <rwatson@FreeBSD.org>2004-01-28 06:48:31 +0000
commit034e0282493413a54d49da685e44d8714951f548 (patch)
tree9ba465598482593901eea27a67d2a06689766ec6 /sys
parenta62ca420840d89b5643208f6fa021ae13314ca88 (diff)
downloadFreeBSD-src-034e0282493413a54d49da685e44d8714951f548.zip
FreeBSD-src-034e0282493413a54d49da685e44d8714951f548.tar.gz
Remove process lock XXX's, fixed in src/sys/sys/proc.h:1.366.
Diffstat (limited to 'sys')
-rw-r--r--sys/i386/i386/trap.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/i386/i386/trap.c b/sys/i386/i386/trap.c
index c929c1b..5c8866a 100644
--- a/sys/i386/i386/trap.c
+++ b/sys/i386/i386/trap.c
@@ -1003,10 +1003,6 @@ syscall(frame)
td->td_retval[0] = 0;
td->td_retval[1] = frame.tf_edx;
- /*
- * XXX: This grabs the process lock. A bad thing in
- * the system call path.
- */
STOPEVENT(p, S_SCE, narg);
PTRACESTOP_SC(p, td, S_PT_SCE);
@@ -1069,10 +1065,6 @@ syscall(frame)
#endif
/*
- * XXX: This grabs the process lock. A bad thing in
- * the system call path.
- */
- /*
* This works because errno is findable through the
* register set. If we ever support an emulation where this
* is not the case, this code will need to be revisited.
OpenPOWER on IntegriCloud