Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/aarch64/aarch64 remove XXX delay to attach cpus in ...



details:   https://anonhg.NetBSD.org/src/rev/871720d0a3af
branches:  trunk
changeset: 993835:871720d0a3af
user:      ryo <ryo%NetBSD.org@localhost>
date:      Thu Oct 04 07:36:10 2018 +0000

description:
remove XXX delay to attach cpus in order

diffstat:

 sys/arch/aarch64/aarch64/cpu.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r ff456e994083 -r 871720d0a3af sys/arch/aarch64/aarch64/cpu.c
--- a/sys/arch/aarch64/aarch64/cpu.c    Thu Oct 04 07:33:54 2018 +0000
+++ b/sys/arch/aarch64/aarch64/cpu.c    Thu Oct 04 07:36:10 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.c,v 1.10 2018/10/03 13:59:31 skrll Exp $ */
+/* $NetBSD: cpu.c,v 1.11 2018/10/04 07:36:10 ryo Exp $ */
 
 /*
  * Copyright (c) 2017 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: cpu.c,v 1.10 2018/10/03 13:59:31 skrll Exp $");
+__KERNEL_RCSID(1, "$NetBSD: cpu.c,v 1.11 2018/10/04 07:36:10 ryo Exp $");
 
 #include "locators.h"
 #include "opt_arm_debug.h"
@@ -450,8 +450,6 @@
 {
        KASSERT(curcpu() == ci);
 
-       delay(1000 * ci->ci_index);     /* XXX: to attach cpu* in order */
-
        mutex_enter(&cpu_hatch_lock);
 
        fpu_attach(ci);



Home | Main Index | Thread Index | Old Index