Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Remove unnecessary brackets



details:   https://anonhg.NetBSD.org/src/rev/769d518a38f3
branches:  trunk
changeset: 359635:769d518a38f3
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Jan 15 08:14:37 2022 +0000

description:
Remove unnecessary brackets

diffstat:

 sys/arch/aarch64/include/pmap.h   |  4 ++--
 sys/arch/arm/include/arm32/pmap.h |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 0f5e203821c1 -r 769d518a38f3 sys/arch/aarch64/include/pmap.h
--- a/sys/arch/aarch64/include/pmap.h   Sat Jan 15 07:39:04 2022 +0000
+++ b/sys/arch/aarch64/include/pmap.h   Sat Jan 15 08:14:37 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.h,v 1.50 2022/01/14 07:21:53 skrll Exp $ */
+/* $NetBSD: pmap.h,v 1.51 2022/01/15 08:14:37 skrll Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -62,7 +62,7 @@
 #define        PMAP_TLB_NEED_SHOOTDOWN         1
 #endif
 
-#define        PMAP_TLB_FLUSH_ASID_ON_RESET    (true)
+#define        PMAP_TLB_FLUSH_ASID_ON_RESET    true
 
 /* Maximum number of ASIDs. Some CPUs have less.*/
 #define        PMAP_TLB_NUM_PIDS               65536
diff -r 0f5e203821c1 -r 769d518a38f3 sys/arch/arm/include/arm32/pmap.h
--- a/sys/arch/arm/include/arm32/pmap.h Sat Jan 15 07:39:04 2022 +0000
+++ b/sys/arch/arm/include/arm32/pmap.h Sat Jan 15 08:14:37 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.h,v 1.171 2021/10/16 07:04:36 skrll Exp $ */
+/*     $NetBSD: pmap.h,v 1.172 2022/01/15 08:14:37 skrll Exp $ */
 
 /*
  * Copyright (c) 2002, 2003 Wasabi Systems, Inc.
@@ -89,7 +89,7 @@
 #if PMAP_TLB_MAX > 1
 #define        PMAP_TLB_NEED_SHOOTDOWN         1
 #endif
-#define        PMAP_TLB_FLUSH_ASID_ON_RESET    (arm_has_tlbiasid_p)
+#define        PMAP_TLB_FLUSH_ASID_ON_RESET    arm_has_tlbiasid_p
 #define        PMAP_TLB_NUM_PIDS               256
 #define        cpu_set_tlb_info(ci, ti)        ((void)((ci)->ci_tlb_info = (ti)))
 #if PMAP_TLB_MAX > 1



Home | Main Index | Thread Index | Old Index