summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Cosgrove <tom@cvs.openbsd.org>2016-07-19 02:26:16 +0000
committerTom Cosgrove <tom@cvs.openbsd.org>2016-07-19 02:26:16 +0000
commitad1246e559671cc6fb4284a6ad4ec054f0560ac2 (patch)
treec40665d2f31ce9baf09c3b2a8dd092098e8a65b4
parent5ee39b3c97d95d57f6559f2dd3171f5efd9bff53 (diff)
Remove what appears to be a copy-paste error setting cur_ttb
in pmap_free_l1(). from aalm@ - thanks ok patrick@
-rw-r--r--sys/arch/arm/arm/pmap7.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/arch/arm/arm/pmap7.c b/sys/arch/arm/arm/pmap7.c
index 64a9ddbb002..0d32bf95780 100644
--- a/sys/arch/arm/arm/pmap7.c
+++ b/sys/arch/arm/arm/pmap7.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap7.c,v 1.26 2016/07/18 13:38:11 tom Exp $ */
+/* $OpenBSD: pmap7.c,v 1.27 2016/07/19 02:26:15 tom Exp $ */
/* $NetBSD: pmap.c,v 1.147 2004/01/18 13:03:50 scw Exp $ */
/*
@@ -710,13 +710,6 @@ pmap_free_l1(pmap_t pm)
vaddr_t va;
uint npg;
-{
- u_int cur_ttb;
-
- __asm volatile("mrc p15, 0, %0, c2, c0, 0" : "=r"(cur_ttb));
- cur_ttb &= ~(L1_TABLE_SIZE - 1);
-
-}
pm->pm_l1 = NULL;
TAILQ_REMOVE(&l1_list, l1, l1_link);