Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 May 2009 04:40:19 +0000 (UTC)
From:      Takahashi Yoshihiro <nyan@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r191842 - head/sys/pc98/cbus
Message-ID:  <200905060440.n464eJZ8004392@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nyan
Date: Wed May  6 04:40:18 2009
New Revision: 191842
URL: http://svn.freebsd.org/changeset/base/191842

Log:
  Reduce diffs against i386.
  Use the hardclockintr function.

Modified:
  head/sys/pc98/cbus/clock.c

Modified: head/sys/pc98/cbus/clock.c
==============================================================================
--- head/sys/pc98/cbus/clock.c	Wed May  6 02:55:43 2009	(r191841)
+++ head/sys/pc98/cbus/clock.c	Wed May  6 04:40:18 2009	(r191842)
@@ -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);
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905060440.n464eJZ8004392>