diff options
author | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2009-05-06 04:40:18 +0000 |
---|---|---|
committer | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2009-05-06 04:40:18 +0000 |
commit | 951323ed8c22f9a762ee43cf1c60ceac0c85b24b (patch) | |
tree | 457d5862b13498b43dd0a71f8962480b2c359d66 /sys/pc98 | |
parent | f4f8f02054f3abb6ceb84aefcdecc78d5c8b462f (diff) | |
download | src-951323ed8c22f9a762ee43cf1c60ceac0c85b24b.tar.gz src-951323ed8c22f9a762ee43cf1c60ceac0c85b24b.zip |
Reduce diffs against i386.
Use the hardclockintr function.
Notes
Notes:
svn path=/head/; revision=191842
Diffstat (limited to 'sys/pc98')
-rw-r--r-- | sys/pc98/cbus/clock.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/pc98/cbus/clock.c b/sys/pc98/cbus/clock.c index ae686dcb6903..bb651bdc3a64 100644 --- a/sys/pc98/cbus/clock.c +++ b/sys/pc98/cbus/clock.c @@ -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); } |