Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/fdt Fix argument to fdtbus_get_reg, from Jared.
details: https://anonhg.NetBSD.org/src/rev/1bddba4594b0
branches: trunk
changeset: 1003986:1bddba4594b0
user: martin <martin%NetBSD.org@localhost>
date: Mon Oct 07 13:54:59 2019 +0000
description:
Fix argument to fdtbus_get_reg, from Jared.
diffstat:
sys/dev/fdt/cpufreq_dt.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 90d1ef0de19d -r 1bddba4594b0 sys/dev/fdt/cpufreq_dt.c
--- a/sys/dev/fdt/cpufreq_dt.c Mon Oct 07 11:53:40 2019 +0000
+++ b/sys/dev/fdt/cpufreq_dt.c Mon Oct 07 13:54:59 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpufreq_dt.c,v 1.9 2019/10/06 11:28:24 jmcneill Exp $ */
+/* $NetBSD: cpufreq_dt.c,v 1.10 2019/10/07 13:54:59 martin Exp $ */
/*-
* Copyright (c) 2015-2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpufreq_dt.c,v 1.9 2019/10/06 11:28:24 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpufreq_dt.c,v 1.10 2019/10/07 13:54:59 martin Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -271,7 +271,7 @@
const struct sysctlnode *node, *cpunode;
struct sysctllog *cpufreq_log = NULL;
struct cpu_info *ci;
- uint64_t mpidr;
+ bus_addr_t mpidr;
int error, i;
if (fdtbus_get_reg(sc->sc_phandle, 0, &mpidr, 0) != 0)
Home |
Main Index |
Thread Index |
Old Index