Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm/pmap Use __BIT(0) for PV_KENTER. NFC.



details:   https://anonhg.NetBSD.org/src/rev/f654f2bf34cf
branches:  trunk
changeset: 354655:f654f2bf34cf
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Jun 24 05:39:53 2017 +0000

description:
Use __BIT(0) for PV_KENTER.  NFC.

diffstat:

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

diffs (18 lines):

diff -r 52090ca86abc -r f654f2bf34cf sys/uvm/pmap/vmpagemd.h
--- a/sys/uvm/pmap/vmpagemd.h   Sat Jun 24 05:34:37 2017 +0000
+++ b/sys/uvm/pmap/vmpagemd.h   Sat Jun 24 05:39:53 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmpagemd.h,v 1.6 2017/06/24 05:34:37 skrll Exp $       */
+/*     $NetBSD: vmpagemd.h,v 1.7 2017/06/24 05:39:53 skrll Exp $       */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -60,7 +60,7 @@
        struct pv_entry *pv_next;
        struct pmap *pv_pmap;
        vaddr_t pv_va;
-#define        PV_KENTER               0x0001
+#define        PV_KENTER               __BIT(0)
 } *pv_entry_t;
 
 #ifndef _MODULE



Home | Main Index | Thread Index | Old Index