Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm/pmap Usee __BIT()



details:   https://anonhg.NetBSD.org/src/rev/c602011ded4e
branches:  trunk
changeset: 451389:c602011ded4e
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon May 20 17:00:57 2019 +0000

description:
Usee __BIT()

diffstat:

 sys/uvm/pmap/pmap.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r e59059e5e64b -r c602011ded4e sys/uvm/pmap/pmap.h
--- a/sys/uvm/pmap/pmap.h       Mon May 20 16:58:49 2019 +0000
+++ b/sys/uvm/pmap/pmap.h       Mon May 20 17:00:57 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.h,v 1.10 2019/05/20 16:58:49 skrll Exp $  */
+/*     $NetBSD: pmap.h,v 1.11 2019/05/20 17:00:57 skrll Exp $  */
 
 /*
  * Copyright (c) 1992, 1993
@@ -130,7 +130,7 @@
        pmap_segtab_t *         pm_segtab;      /* pointers to pages of PTEs */
        u_int                   pm_count;       /* pmap reference count */
        u_int                   pm_flags;
-#define        PMAP_DEFERRED_ACTIVATE  0x0001
+#define        PMAP_DEFERRED_ACTIVATE  __BIT(0)
        struct pmap_statistics  pm_stats;       /* pmap statistics */
        vaddr_t                 pm_minaddr;
        vaddr_t                 pm_maxaddr;



Home | Main Index | Thread Index | Old Index