From owner-svn-src-head@FreeBSD.ORG Tue Jun 7 01:06:49 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC5481065672; Tue, 7 Jun 2011 01:06:49 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 9C5D88FC19; Tue, 7 Jun 2011 01:06:49 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p5716ni9059083; Tue, 7 Jun 2011 01:06:49 GMT (envelope-from marcel@svn.freebsd.org) Received: (from marcel@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p5716nBk059081; Tue, 7 Jun 2011 01:06:49 GMT (envelope-from marcel@svn.freebsd.org) Message-Id: <201106070106.p5716nBk059081@svn.freebsd.org> From: Marcel Moolenaar Date: Tue, 7 Jun 2011 01:06:49 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r222800 - head/sys/ia64/ia64 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jun 2011 01:06:49 -0000 Author: marcel Date: Tue Jun 7 01:06:49 2011 New Revision: 222800 URL: http://svn.freebsd.org/changeset/base/222800 Log: Call set_cputicker() to have the time counter use the ITC register. Note that the ITC frequency is fixed. Modified: head/sys/ia64/ia64/machdep.c Modified: head/sys/ia64/ia64/machdep.c ============================================================================== --- head/sys/ia64/ia64/machdep.c Tue Jun 7 00:59:31 2011 (r222799) +++ head/sys/ia64/ia64/machdep.c Tue Jun 7 01:06:49 2011 (r222800) @@ -786,6 +786,8 @@ ia64_init(void) ia64_sal_init(); calculate_frequencies(); + set_cputicker(ia64_get_itc, (u_long)itc_freq * 1000000, 0); + /* * Setup the PCPU data for the bootstrap processor. It is needed * by printf(). Also, since printf() has critical sections, we