Module Name: src
Committed By: thorpej
Date: Mon Oct 26 03:21:20 UTC 2009
Modified Files:
src/sys/arch/alpha/alpha: pmap.c
Log Message:
Garbage-collect PMAP_LEV1MAP_SHOOTDOWN() -- it hasn't been used for a long
time.
To generate a diff of this commit:
cvs rdiff -u -r1.246 -r1.247 src/sys/arch/alpha/alpha/pmap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/alpha/alpha/pmap.c
diff -u src/sys/arch/alpha/alpha/pmap.c:1.246 src/sys/arch/alpha/alpha/pmap.c:1.247
--- src/sys/arch/alpha/alpha/pmap.c:1.246 Sat Oct 24 04:56:42 2009
+++ src/sys/arch/alpha/alpha/pmap.c Mon Oct 26 03:21:19 2009
@@ -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:
*