summaryrefslogtreecommitdiffstats
path: root/sys/alpha
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2004-08-31 07:34:54 +0000
committerjulian <julian@FreeBSD.org>2004-08-31 07:34:54 +0000
commit2782d4b3fc93d70e6b2e643c22ad90982b863bf1 (patch)
tree1a975f2ac0a0702045b32ec5bdafabf3aa115857 /sys/alpha
parentee753ed190029f2bb1071fa1905073ad15121ae5 (diff)
downloadFreeBSD-src-2782d4b3fc93d70e6b2e643c22ad90982b863bf1.zip
FreeBSD-src-2782d4b3fc93d70e6b2e643c22ad90982b863bf1.tar.gz
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
Diffstat (limited to 'sys/alpha')
-rw-r--r--sys/alpha/alpha/trap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/alpha/alpha/trap.c b/sys/alpha/alpha/trap.c
index e91bc90..634a0cd 100644
--- a/sys/alpha/alpha/trap.c
+++ b/sys/alpha/alpha/trap.c
@@ -662,7 +662,7 @@ syscall(code, framep)
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);
#ifdef DIAGNOSTIC
alpha_fpstate_check(td);
#endif
OpenPOWER on IntegriCloud