diff options
| author | Julian Elischer <julian@FreeBSD.org> | 2004-08-31 06:12:13 +0000 |
|---|---|---|
| committer | Julian Elischer <julian@FreeBSD.org> | 2004-08-31 06:12:13 +0000 |
| commit | 99e9dcb817d24175052254238752ca3a4b007940 (patch) | |
| tree | dddf557370c3f26fcb7ce5b74984fd362556bf89 /sys/ia64 | |
| parent | 8f28fe7f421860e7a06bd73cfc5f06c7e1dde6d6 (diff) | |
Notes
Diffstat (limited to 'sys/ia64')
| -rw-r--r-- | sys/ia64/ia64/trap.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/ia64/ia64/trap.c b/sys/ia64/ia64/trap.c index 3a67cff27a59..373ffdb8b676 100644 --- a/sys/ia64/ia64/trap.c +++ b/sys/ia64/ia64/trap.c @@ -901,9 +901,6 @@ out: if (user) { userret(td, tf, sticks); mtx_assert(&Giant, MA_NOTOWNED); -#ifdef DIAGNOSTIC - cred_free_thread(td); -#endif do_ast(tf); } return; @@ -1072,10 +1069,6 @@ syscall(struct trapframe *tf) PTRACESTOP_SC(p, td, S_PT_SCX); -#ifdef DIAGNOSTIC - cred_free_thread(td); -#endif - WITNESS_WARN(WARN_PANIC, NULL, "System call %s returning", (code >= 0 && code < SYS_MAXSYSCALL) ? syscallnames[code] : "???"); mtx_assert(&sched_lock, MA_NOTOWNED); @@ -1248,9 +1241,6 @@ ia32_syscall(struct trapframe *tf) */ STOPEVENT(p, S_SCX, code); -#ifdef DIAGNOSTIC - cred_free_thread(td); -#endif WITNESS_WARN(WARN_PANIC, NULL, "System call %s returning", (code >= 0 && code < SYS_MAXSYSCALL) ? syscallnames[code] : "???"); mtx_assert(&sched_lock, MA_NOTOWNED); |
