Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/alpha/alpha Garbage-collect PMAP_LEV1MAP_SHOOTDOWN(...
details: https://anonhg.NetBSD.org/src/rev/09957cf35574
branches: trunk
changeset: 748520:09957cf35574
user: thorpej <thorpej%NetBSD.org@localhost>
date: Mon Oct 26 03:21:19 2009 +0000
description:
Garbage-collect PMAP_LEV1MAP_SHOOTDOWN() -- it hasn't been used for a long
time.
diffstat:
sys/arch/alpha/alpha/pmap.c | 24 ++----------------------
1 files changed, 2 insertions(+), 22 deletions(-)
diffs (45 lines):
diff -r ce67e53af7f5 -r 09957cf35574 sys/arch/alpha/alpha/pmap.c
--- a/sys/arch/alpha/alpha/pmap.c Mon Oct 26 02:53:15 2009 +0000
+++ b/sys/arch/alpha/alpha/pmap.c Mon Oct 26 03:21:19 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.246 2009/10/24 04:56:42 thorpej Exp $ */
+/* $NetBSD: pmap.c,v 1.247 2009/10/26 03:21:19 thorpej Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000, 2001, 2007, 2008 The NetBSD Foundation, Inc.
@@ -140,7 +140,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.246 2009/10/24 04:56:42 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.247 2009/10/26 03:21:19 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -600,26 +600,6 @@
} \
} while (/*CONSTCOND*/0)
-#if defined(MULTIPROCESSOR)
-/*
- * PMAP_LEV1MAP_SHOOTDOWN:
- *
- * "Shoot down" the level 1 map on other CPUs.
- */
-#define PMAP_LEV1MAP_SHOOTDOWN(pmap, cpu_id) \
-do { \
- u_long __cpumask = (pmap)->pm_cpus & ~(1UL << (cpu_id)); \
- \
- if (__cpumask != 0) { \
- alpha_multicast_ipi(__cpumask, \
- ALPHA_IPI_PMAP_REACTIVATE); \
- /* XXXSMP BARRIER OPERATION */ \
- } \
-} while (/*CONSTCOND*/0)
-#else
-#define PMAP_LEV1MAP_SHOOTDOWN(pmap, cpu_id) /* nothing */
-#endif /* MULTIPROCESSOR */
-
/*
* PMAP_SET_NEEDISYNC:
*
Home |
Main Index |
Thread Index |
Old Index