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 #if 0 / #endif -> a comment



details:   https://anonhg.NetBSD.org/src/rev/0d36d9b30737
branches:  trunk
changeset: 848777:0d36d9b30737
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Feb 09 08:14:55 2020 +0000

description:
#if 0 / #endif -> a comment

diffstat:

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

diffs (31 lines):

diff -r e51da0391f29 -r 0d36d9b30737 sys/arch/aarch64/aarch64/cpu.c
--- a/sys/arch/aarch64/aarch64/cpu.c    Sun Feb 09 08:10:25 2020 +0000
+++ b/sys/arch/aarch64/aarch64/cpu.c    Sun Feb 09 08:14:55 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.c,v 1.39 2020/01/28 17:47:50 maxv Exp $ */
+/* $NetBSD: cpu.c,v 1.40 2020/02/09 08:14:55 skrll 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.39 2020/01/28 17:47:50 maxv Exp $");
+__KERNEL_RCSID(1, "$NetBSD: cpu.c,v 1.40 2020/02/09 08:14:55 skrll Exp $");
 
 #include "locators.h"
 #include "opt_arm_debug.h"
@@ -159,10 +159,8 @@
        fpu_attach(ci);
 
        cpu_identify1(dv, ci);
-#if 0
-       /* already done in locore */
-       aarch64_getcacheinfo(unit);
-#endif
+
+       /* aarch64_getcacheinfo(0) was called by locore.S */
        aarch64_printcacheinfo(dv);
        cpu_identify2(dv, ci);
 



Home | Main Index | Thread Index | Old Index