Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/arm32 fix unused.
details: https://anonhg.NetBSD.org/src/rev/48fe81c4b0e0
branches: trunk
changeset: 351755:48fe81c4b0e0
user: christos <christos%NetBSD.org@localhost>
date: Sat Feb 25 16:48:03 2017 +0000
description:
fix unused.
diffstat:
sys/arch/arm/arm32/pmap.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (39 lines):
diff -r 6991098d50e3 -r 48fe81c4b0e0 sys/arch/arm/arm32/pmap.c
--- a/sys/arch/arm/arm32/pmap.c Sat Feb 25 16:45:24 2017 +0000
+++ b/sys/arch/arm/arm32/pmap.c Sat Feb 25 16:48:03 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.343 2017/02/23 08:22:20 skrll Exp $ */
+/* $NetBSD: pmap.c,v 1.344 2017/02/25 16:48:03 christos Exp $ */
/*
* Copyright 2003 Wasabi Systems, Inc.
@@ -217,7 +217,7 @@
#include <arm/locore.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.343 2017/02/23 08:22:20 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.344 2017/02/25 16:48:03 christos Exp $");
//#define PMAP_DEBUG
#ifdef PMAP_DEBUG
@@ -954,6 +954,7 @@
* - The specified pmap is 'active' in the cache/tlb.
*/
+#ifdef PMAP_INCLUDE_PTE_SYNC
static inline void
pmap_pte_sync_current(pmap_t pm, pt_entry_t *ptep)
{
@@ -962,10 +963,9 @@
arm_dsb();
}
-#ifdef PMAP_INCLUDE_PTE_SYNC
-#define PTE_SYNC_CURRENT(pm, ptep) pmap_pte_sync_current(pm, ptep)
+# define PTE_SYNC_CURRENT(pm, ptep) pmap_pte_sync_current(pm, ptep)
#else
-#define PTE_SYNC_CURRENT(pm, ptep) /* nothing */
+# define PTE_SYNC_CURRENT(pm, ptep) __nothing
#endif
/*
Home |
Main Index |
Thread Index |
Old Index