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 add default statement



details:   https://anonhg.NetBSD.org/src/rev/fe9c385d33c7
branches:  trunk
changeset: 991521:fe9c385d33c7
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jul 17 00:30:34 2018 +0000

description:
add default statement

diffstat:

 sys/arch/aarch64/aarch64/cpufunc.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 3a4063a73df0 -r fe9c385d33c7 sys/arch/aarch64/aarch64/cpufunc.c
--- a/sys/arch/aarch64/aarch64/cpufunc.c        Tue Jul 17 00:30:11 2018 +0000
+++ b/sys/arch/aarch64/aarch64/cpufunc.c        Tue Jul 17 00:30:34 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpufunc.c,v 1.1 2018/04/01 04:35:03 ryo Exp $  */
+/*     $NetBSD: cpufunc.c,v 1.2 2018/07/17 00:30:34 christos Exp $     */
 
 /*
  * Copyright (c) 2017 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpufunc.c,v 1.1 2018/04/01 04:35:03 ryo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpufunc.c,v 1.2 2018/07/17 00:30:34 christos Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -145,6 +145,9 @@
                        cacheable = CACHE_CACHEABLE_UNIFIED;
                        extract_cacheunit(level, false, CACHE_TYPE_PIPT);
                        break;
+               default:
+                       cacheable = CACHE_CACHEABLE_NONE;
+                       break;
                }
 
                aarch64_cache_info[level].cacheable = cacheable;



Home | Main Index | Thread Index | Old Index