diff options
author | julian <julian@FreeBSD.org> | 2003-01-27 00:00:06 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2003-01-27 00:00:06 +0000 |
commit | 0558ae797113e90550f5c3a68fc95c48d1f547f9 (patch) | |
tree | ff42d869b61ca8d6acb6ef932b51fcca20955a84 | |
parent | 28bda27f7bcc41467a7836434aac6f2d4fd0479a (diff) | |
download | FreeBSD-src-0558ae797113e90550f5c3a68fc95c48d1f547f9.zip FreeBSD-src-0558ae797113e90550f5c3a68fc95c48d1f547f9.tar.gz |
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?)
-rw-r--r-- | sys/alpha/alpha/interrupt.c | 2 | ||||
-rw-r--r-- | 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 19cd144..731f8cf 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 720dbee..30d4c37 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); } |