Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc/sparc Patch from Nobuyoshi SATO: scale second...
details: https://anonhg.NetBSD.org/src/rev/447a8735a6af
branches: trunk
changeset: 329694:447a8735a6af
user: martin <martin%NetBSD.org@localhost>
date: Wed Jun 04 07:06:03 2014 +0000
description:
Patch from Nobuyoshi SATO: scale secondary cpu frequency in attach message
just like the primary one.
diffstat:
sys/arch/sparc/sparc/cpu.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r f5ed08d7d6fa -r 447a8735a6af sys/arch/sparc/sparc/cpu.c
--- a/sys/arch/sparc/sparc/cpu.c Tue Jun 03 22:34:28 2014 +0000
+++ b/sys/arch/sparc/sparc/cpu.c Wed Jun 04 07:06:03 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.c,v 1.246 2014/05/20 18:32:08 rmind Exp $ */
+/* $NetBSD: cpu.c,v 1.247 2014/06/04 07:06:03 martin Exp $ */
/*
* Copyright (c) 1996
@@ -52,7 +52,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.246 2014/05/20 18:32:08 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.247 2014/06/04 07:06:03 martin Exp $");
#include "opt_multiprocessor.h"
#include "opt_lockdebug.h"
@@ -526,7 +526,7 @@
/* Now start this CPU */
cpu_spinup(cpi);
printf(": %s @ %s MHz, %s FPU\n", cpi->cpu_longname,
- clockfreq(cpi->hz), cpi->fpu_name);
+ clockfreq(cpi->hz / 1000), cpi->fpu_name);
cache_print(sc);
Home |
Main Index |
Thread Index |
Old Index