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 Don't overwrite the setting of cpu_core_i...
details: https://anonhg.NetBSD.org/src/rev/883aec17ebdd
branches: trunk
changeset: 447140:883aec17ebdd
user: skrll <skrll%NetBSD.org@localhost>
date: Wed Jan 02 09:04:09 2019 +0000
description:
Don't overwrite the setting of cpu_core_id from mpidr
diffstat:
sys/arch/arm/arm32/cpu.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r d0fb2033c134 -r 883aec17ebdd sys/arch/arm/arm32/cpu.c
--- a/sys/arch/arm/arm32/cpu.c Wed Jan 02 03:04:26 2019 +0000
+++ b/sys/arch/arm/arm32/cpu.c Wed Jan 02 09:04:09 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.c,v 1.123 2018/10/18 09:01:52 skrll Exp $ */
+/* $NetBSD: cpu.c,v 1.124 2019/01/02 09:04:09 skrll Exp $ */
/*
* Copyright (c) 1995 Mark Brinicombe.
@@ -46,7 +46,7 @@
#include "opt_multiprocessor.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.123 2018/10/18 09:01:52 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.124 2019/01/02 09:04:09 skrll Exp $");
#include <sys/param.h>
#include <sys/conf.h>
@@ -113,7 +113,6 @@
ci->ci_data.cpu_core_id = mpidr & MPIDR_AFF0;
ci->ci_data.cpu_package_id = mpidr & MPIDR_AFF1;
}
- ci->ci_data.cpu_core_id = id;
ci->ci_data.cpu_cc_freq = cpu_info_store.ci_data.cpu_cc_freq;
ci->ci_arm_cpuid = cpu_info_store.ci_arm_cpuid;
ci->ci_arm_cputype = cpu_info_store.ci_arm_cputype;
Home |
Main Index |
Thread Index |
Old Index