From e3c5d56ff4f3040e671a22b037f2110bfc5643d5 Mon Sep 17 00:00:00 2001 From: Jake Burkholder Date: Sun, 26 Jan 2003 23:52:45 +0000 Subject: [PATCH] Fix standard kse breakage of non-x86 platforms. Pointy hat to: davidxu --- sys/sparc64/sparc64/tick.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/sparc64/sparc64/tick.c b/sys/sparc64/sparc64/tick.c index a10ba012853d..e464f81e5aeb 100644 --- a/sys/sparc64/sparc64/tick.c +++ b/sys/sparc64/sparc64/tick.c @@ -71,8 +71,7 @@ tick_process(struct clockframe *cf) CTR1(KTR_CLK, "tick_process: AP, cpuid=%d", PCPU_GET(cpuid)); mtx_lock_spin_flags(&sched_lock, MTX_QUIET); hardclock_process(curthread, CLKF_USERMODE(cf)); - statclock_process(curthread->td_kse, CLKF_PC(cf), - CLKF_USERMODE(cf)); + statclock_process(curthread, CLKF_PC(cf), CLKF_USERMODE(cf)); mtx_unlock_spin_flags(&sched_lock, MTX_QUIET); } #else