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 fix build error by my previous commit



details:   https://anonhg.NetBSD.org/src/rev/7246beaff3c3
branches:  trunk
changeset: 846953:7246beaff3c3
user:      ryo <ryo%NetBSD.org@localhost>
date:      Thu Dec 05 05:45:52 2019 +0000

description:
fix build error by my previous commit

diffstat:

 sys/arch/aarch64/aarch64/cpufunc.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 7e9621074ff7 -r 7246beaff3c3 sys/arch/aarch64/aarch64/cpufunc.c
--- a/sys/arch/aarch64/aarch64/cpufunc.c        Thu Dec 05 05:29:27 2019 +0000
+++ b/sys/arch/aarch64/aarch64/cpufunc.c        Thu Dec 05 05:45:52 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpufunc.c,v 1.10 2019/12/05 05:17:55 ryo Exp $ */
+/*     $NetBSD: cpufunc.c,v 1.11 2019/12/05 05:45:52 ryo Exp $ */
 
 /*
  * Copyright (c) 2017 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -29,7 +29,7 @@
 #include "opt_multiprocessor.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpufunc.c,v 1.10 2019/12/05 05:17:55 ryo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpufunc.c,v 1.11 2019/12/05 05:45:52 ryo Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -126,7 +126,7 @@
 
        /* Need static buffer for the boot CPU */
        if (unit == 0)
-               cinfo = &aarch64_cacheinfo0;
+               cinfo = aarch64_cacheinfo0;
        else
                cinfo = kmem_zalloc(sizeof(struct aarch64_cache_info)
                    * MAX_CACHE_LEVEL, KM_SLEEP);



Home | Main Index | Thread Index | Old Index