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/f22e6a408ebe
branches:  trunk
changeset: 999123:f22e6a408ebe
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 dedbf7da53cd -r f22e6a408ebe 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