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