Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/include Fix tyop in __BITS for the MIPSNN_MTI_...



details:   https://anonhg.NetBSD.org/src/rev/26d24fbfe45c
branches:  trunk
changeset: 372286:26d24fbfe45c
user:      simonb <simonb%NetBSD.org@localhost>
date:      Tue Nov 08 13:04:49 2022 +0000

description:
Fix tyop in __BITS for the MIPSNN_MTI_CFG7_PREF_MASK macro.

diffstat:

 sys/arch/mips/include/mipsNN.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 642584b2cbf2 -r 26d24fbfe45c sys/arch/mips/include/mipsNN.h
--- a/sys/arch/mips/include/mipsNN.h    Tue Nov 08 12:48:28 2022 +0000
+++ b/sys/arch/mips/include/mipsNN.h    Tue Nov 08 13:04:49 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mipsNN.h,v 1.12 2020/08/02 23:20:25 simonb Exp $       */
+/*     $NetBSD: mipsNN.h,v 1.13 2022/11/08 13:04:49 simonb Exp $       */
 
 /*
  * Copyright 2000, 2001
@@ -677,7 +677,7 @@
 #define        MIPSNN_MTI_CFG7_AR              __BIT(16)       /* 1: no virt aliases */
 
 /* "PREF" (R/W): Instruction Prefetching (74K, 1074K). */
-#define        MIPSNN_MTI_CFG7_PREF_MASK       __BITS(12:11)
+#define        MIPSNN_MTI_CFG7_PREF_MASK       __BITS(12,11)
 #define        MIPSNN_MTI_CFG7_PREF_SHIFT      11
 #define        MIPSNN_MTI_CFG7_PREF_DISABLE    0
 #define        MIPSNN_MTI_CFG7_PREF_ONELINE    1



Home | Main Index | Thread Index | Old Index