Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/arm32 Simplify
details: https://anonhg.NetBSD.org/src/rev/9944cc0d4153
branches: trunk
changeset: 447192:9944cc0d4153
user: skrll <skrll%NetBSD.org@localhost>
date: Thu Jan 03 15:33:06 2019 +0000
description:
Simplify
diffstat:
sys/arch/arm/arm32/arm32_boot.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 1affa134a8da -r 9944cc0d4153 sys/arch/arm/arm32/arm32_boot.c
--- a/sys/arch/arm/arm32/arm32_boot.c Thu Jan 03 15:12:00 2019 +0000
+++ b/sys/arch/arm/arm32/arm32_boot.c Thu Jan 03 15:33:06 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: arm32_boot.c,v 1.29 2019/01/03 15:12:00 jmcneill Exp $ */
+/* $NetBSD: arm32_boot.c,v 1.30 2019/01/03 15:33:06 skrll Exp $ */
/*
* Copyright (c) 2002, 2003, 2005 Genetec Corporation. All rights reserved.
@@ -122,7 +122,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: arm32_boot.c,v 1.29 2019/01/03 15:12:00 jmcneill Exp $");
+__KERNEL_RCSID(1, "$NetBSD: arm32_boot.c,v 1.30 2019/01/03 15:33:06 skrll Exp $");
#include "opt_arm_debug.h"
#include "opt_cputypes.h"
@@ -350,7 +350,7 @@
VPRINTF("%s(%s): ", __func__, cpu_name(ci));
ci->ci_ctrl = armreg_sctlr_read();
uint32_t mpidr = armreg_mpidr_read();
- ci->ci_mpidr = armreg_mpidr_read();
+ ci->ci_mpidr = mpidr;
if (mpidr & MPIDR_MT) {
ci->ci_smt_id = mpidr & MPIDR_AFF0;
ci->ci_core_id = mpidr & MPIDR_AFF1;
Home |
Main Index |
Thread Index |
Old Index