From d159ba4aa732369a7610ac70b065fc754bc430e8 Mon Sep 17 00:00:00 2001 From: julian Date: Mon, 27 Jan 2003 00:00:06 +0000 Subject: [PATCH] Unbreak SMP cases for these architectures. statclock_process() changed arguments. note: it may be worth checking if curkse is needed on these architectures.. (and if so, why?) --- sys/alpha/alpha/interrupt.c | 2 +- sys/ia64/ia64/interrupt.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/alpha/alpha/interrupt.c b/sys/alpha/alpha/interrupt.c index 19cd144b63c6..731f8cf771ac 100644 --- a/sys/alpha/alpha/interrupt.c +++ b/sys/alpha/alpha/interrupt.c @@ -479,7 +479,7 @@ alpha_clock_interrupt(struct trapframe *framep) mtx_lock_spin(&sched_lock); hardclock_process(curthread, TRAPF_USERMODE(framep)); if ((schedclk2 & 0x7) == 0) - statclock_process(curkse, TRAPF_PC(framep), + statclock_process(curthread, TRAPF_PC(framep), TRAPF_USERMODE(framep)); mtx_unlock_spin(&sched_lock); } diff --git a/sys/ia64/ia64/interrupt.c b/sys/ia64/ia64/interrupt.c index 720dbee1f688..30d4c377b634 100644 --- a/sys/ia64/ia64/interrupt.c +++ b/sys/ia64/ia64/interrupt.c @@ -139,7 +139,7 @@ interrupt(u_int64_t vector, struct trapframe *framep) mtx_lock_spin(&sched_lock); hardclock_process(curthread, TRAPF_USERMODE(framep)); if ((schedclk2 & 0x7) == 0) - statclock_process(curkse, TRAPF_PC(framep), + statclock_process(curthread, TRAPF_PC(framep), TRAPF_USERMODE(framep)); mtx_unlock_spin(&sched_lock); }