Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Use "__nothing" macro defined in <sys/cdefs.h> for ...
details: https://anonhg.NetBSD.org/src/rev/fdf95ceab149
branches: trunk
changeset: 968913:fdf95ceab149
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sat Feb 01 06:17:11 2020 +0000
description:
Use "__nothing" macro defined in <sys/cdefs.h> for empty pmap_update().
Suggested by pgoyette@ in PR/54869.
diffstat:
sys/arch/m68k/include/pmap_motorola.h | 4 ++--
sys/arch/sun2/include/pmap.h | 4 ++--
sys/arch/sun3/include/pmap.h | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diffs (54 lines):
diff -r 39e29d886ece -r fdf95ceab149 sys/arch/m68k/include/pmap_motorola.h
--- a/sys/arch/m68k/include/pmap_motorola.h Sat Feb 01 06:02:00 2020 +0000
+++ b/sys/arch/m68k/include/pmap_motorola.h Sat Feb 01 06:17:11 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap_motorola.h,v 1.34 2011/10/29 18:26:19 tsutsui Exp $ */
+/* $NetBSD: pmap_motorola.h,v 1.35 2020/02/01 06:17:11 tsutsui Exp $ */
/*
* Copyright (c) 1991, 1993
@@ -202,7 +202,7 @@
#define pmap_resident_count(pmap) ((pmap)->pm_stats.resident_count)
#define pmap_wired_count(pmap) ((pmap)->pm_stats.wired_count)
-#define pmap_update(pmap) /* nothing (yet) */
+#define pmap_update(pmap) __nothing /* nothing (yet) */
static __inline void
pmap_remove_all(struct pmap *pmap)
diff -r 39e29d886ece -r fdf95ceab149 sys/arch/sun2/include/pmap.h
--- a/sys/arch/sun2/include/pmap.h Sat Feb 01 06:02:00 2020 +0000
+++ b/sys/arch/sun2/include/pmap.h Sat Feb 01 06:17:11 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.h,v 1.26 2013/01/09 08:11:09 he Exp $ */
+/* $NetBSD: pmap.h,v 1.27 2020/02/01 06:17:11 tsutsui Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -64,7 +64,7 @@
/* We use the PA plus some low bits for device mmap. */
#define pmap_phys_address(addr) (addr)
-#define pmap_update(pmap) /* nothing (yet) */
+#define pmap_update(pmap) __nothing /* nothing (yet) */
/* Map a given physical region to a virtual region */
extern vaddr_t pmap_map(vaddr_t, paddr_t, paddr_t, int);
diff -r 39e29d886ece -r fdf95ceab149 sys/arch/sun3/include/pmap.h
--- a/sys/arch/sun3/include/pmap.h Sat Feb 01 06:02:00 2020 +0000
+++ b/sys/arch/sun3/include/pmap.h Sat Feb 01 06:17:11 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.h,v 1.33 2020/01/18 20:47:15 tsutsui Exp $ */
+/* $NetBSD: pmap.h,v 1.34 2020/02/01 06:17:12 tsutsui Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
* Some pmap(9) API macros should be defined here for module(7)
* because they are common between sun3 and sun3x. (see PR/54869)
*/
-#define pmap_update(pmap) /* nothing (yet) */
+#define pmap_update(pmap) __nothing /* nothing (yet) */
void pmap_procwr(struct proc *, vaddr_t, size_t);
#endif
Home |
Main Index |
Thread Index |
Old Index