Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/marvell Initialize cpu_cc_freq with our CPU speed.
details: https://anonhg.NetBSD.org/src/rev/00defcf229c7
branches: trunk
changeset: 328523:00defcf229c7
user: matt <matt%NetBSD.org@localhost>
date: Sat Apr 05 22:41:50 2014 +0000
description:
Initialize cpu_cc_freq with our CPU speed.
diffstat:
sys/arch/arm/marvell/armadaxp.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r b6a5d6b5fd0c -r 00defcf229c7 sys/arch/arm/marvell/armadaxp.c
--- a/sys/arch/arm/marvell/armadaxp.c Sat Apr 05 22:36:18 2014 +0000
+++ b/sys/arch/arm/marvell/armadaxp.c Sat Apr 05 22:41:50 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: armadaxp.c,v 1.7 2014/03/15 10:54:40 kiyohara Exp $ */
+/* $NetBSD: armadaxp.c,v 1.8 2014/04/05 22:41:50 matt Exp $ */
/*******************************************************************************
Copyright (C) Marvell International Ltd. and its affiliates
@@ -37,7 +37,7 @@
*******************************************************************************/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: armadaxp.c,v 1.7 2014/03/15 10:54:40 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: armadaxp.c,v 1.8 2014/04/05 22:41:50 matt Exp $");
#define _INTR_PRIVATE
@@ -369,6 +369,8 @@
mvPclk *= 1000000;
mvSysclk *= 1000000;
+
+ curcpu()->ci_data.cpu_cc_freq = mvPclk;
}
void
Home |
Main Index |
Thread Index |
Old Index