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/bc1b06b07948
branches:  trunk
changeset: 320713:bc1b06b07948
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 12b82b0dc5dc -r bc1b06b07948 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