Reduce diffs against i386.

Use the hardclockintr function.
This commit is contained in:
Yoshihiro Takahashi 2009-05-06 04:40:18 +00:00
parent f4f8f02054
commit 951323ed8c

View File

@ -181,10 +181,7 @@ clkintr(struct trapframe *frame)
if (smp_started)
ipi_all_but_self(IPI_HARDCLOCK);
#endif
if (PCPU_GET(cpuid) == 0)
hardclock(TRAPF_USERMODE(frame), TRAPF_PC(frame));
else
hardclock_cpu(TRAPF_USERMODE(frame));
hardclockintr(frame);
return (FILTER_HANDLED);
}