Reduce diffs against i386.
Use the hardclockintr function.
This commit is contained in:
parent
f4f8f02054
commit
951323ed8c
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user