Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/sys/arch/sparc64/sparc64 Apply patch (requested by naka...



details:   https://anonhg.NetBSD.org/src/rev/a970b6d011ad
branches:  netbsd-1-6
changeset: 530428:a970b6d011ad
user:      grant <grant%NetBSD.org@localhost>
date:      Tue Jun 24 09:32:48 2003 +0000

description:
Apply patch (requested by nakayama in ticket #1329):

Switch to use cycle counter (%tick) based microtime().

This is derived from alpha/microtime.c and i386/tsc_microtime.c,
and will share with both ports.

diffstat:

 sys/arch/sparc64/sparc64/cpu.c |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r 0773b2d308bc -r a970b6d011ad sys/arch/sparc64/sparc64/cpu.c
--- a/sys/arch/sparc64/sparc64/cpu.c    Tue Jun 24 09:32:16 2003 +0000
+++ b/sys/arch/sparc64/sparc64/cpu.c    Tue Jun 24 09:32:48 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.c,v 1.18 2001/12/31 16:26:10 matt Exp $ */
+/*     $NetBSD: cpu.c,v 1.18.10.1 2003/06/24 09:32:48 grant Exp $ */
 
 /*
  * Copyright (c) 1996
@@ -239,7 +239,6 @@
        register int i, l;
        u_int64_t ver;
        int bigcache, cachesize;
-       extern u_int64_t cpu_clockrate[];
 
        /* This needs to be 64-bit aligned */
        fpstate = ALIGNFPSTATE(&fps[1]);



Home | Main Index | Thread Index | Old Index