Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm/pmap Unwrap short lines. NFCI.
details: https://anonhg.NetBSD.org/src/rev/0662d81d7264
branches: trunk
changeset: 457310:0662d81d7264
user: skrll <skrll%NetBSD.org@localhost>
date: Wed Jun 19 10:00:19 2019 +0000
description:
Unwrap short lines. NFCI.
diffstat:
sys/uvm/pmap/vmpagemd.h | 17 ++++++-----------
1 files changed, 6 insertions(+), 11 deletions(-)
diffs (31 lines):
diff -r fb5959f68c71 -r 0662d81d7264 sys/uvm/pmap/vmpagemd.h
--- a/sys/uvm/pmap/vmpagemd.h Wed Jun 19 09:56:17 2019 +0000
+++ b/sys/uvm/pmap/vmpagemd.h Wed Jun 19 10:00:19 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmpagemd.h,v 1.8 2018/04/19 21:50:10 christos Exp $ */
+/* $NetBSD: vmpagemd.h,v 1.9 2019/06/19 10:00:19 skrll Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -100,16 +100,11 @@
#define VM_PAGEMD_PVLIST_LOCK_INIT(mdpg) do { } while (/*CONSTCOND*/ 0)
#endif /* MULTIPROCESSOR || MODULAR */
-#define VM_PAGEMD_PVLIST_LOCK(mdpg) \
- pmap_pvlist_lock(mdpg, 1)
-#define VM_PAGEMD_PVLIST_READLOCK(mdpg) \
- pmap_pvlist_lock(mdpg, 0)
-#define VM_PAGEMD_PVLIST_UNLOCK(mdpg) \
- pmap_pvlist_unlock(mdpg)
-#define VM_PAGEMD_PVLIST_LOCKED_P(mdpg) \
- pmap_pvlist_locked_p(mdpg)
-#define VM_PAGEMD_PVLIST_GEN(mdpg) \
- ((mdpg)->mdpg_attrs >> 16)
+#define VM_PAGEMD_PVLIST_LOCK(mdpg) pmap_pvlist_lock(mdpg, 1)
+#define VM_PAGEMD_PVLIST_READLOCK(mdpg) pmap_pvlist_lock(mdpg, 0)
+#define VM_PAGEMD_PVLIST_UNLOCK(mdpg) pmap_pvlist_unlock(mdpg)
+#define VM_PAGEMD_PVLIST_LOCKED_P(mdpg) pmap_pvlist_locked_p(mdpg)
+#define VM_PAGEMD_PVLIST_GEN(mdpg) ((mdpg)->mdpg_attrs >> 16)
#ifdef _KERNEL
#if defined(MULTIPROCESSOR) || defined(MODULAR)
Home |
Main Index |
Thread Index |
Old Index