From 2782d4b3fc93d70e6b2e643c22ad90982b863bf1 Mon Sep 17 00:00:00 2001 From: julian Date: Tue, 31 Aug 2004 07:34:54 +0000 Subject: Remove an unneeded argument.. The removed argument could trivially be derived from the remaining one. That in turn should be the same as curthread, but it is possible that curthread could be expensive to derive on some syste,s so leave it as an argument. Having both proc and thread as an argumen tjust gives an opportunity for them to get out sync. MFC after: 3 days --- sys/ia64/ia64/trap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/ia64') diff --git a/sys/ia64/ia64/trap.c b/sys/ia64/ia64/trap.c index 373ffdb..02a5b3d 100644 --- a/sys/ia64/ia64/trap.c +++ b/sys/ia64/ia64/trap.c @@ -983,7 +983,7 @@ syscall(struct trapframe *tf) if (td->td_ucred != p->p_ucred) cred_update_thread(td); if (p->p_flag & P_SA) - thread_user_enter(p, td); + thread_user_enter(td); if (p->p_sysent->sv_prepsyscall) { /* (*p->p_sysent->sv_prepsyscall)(tf, args, &code, ¶ms); */ -- cgit v1.1