diff options
author | 2016-07-19 02:26:15 +0000 | |
---|---|---|
committer | 2016-07-19 02:26:15 +0000 | |
commit | b86068a3fefd9690ecb9b3026169571ecd34fb7c (patch) | |
tree | eeefc1095408a9590a14c476f0050acf3d2cd037 /sys | |
parent | add format attributes to log functions and fix some errors (diff) | |
download | wireguard-openbsd-b86068a3fefd9690ecb9b3026169571ecd34fb7c.tar.xz wireguard-openbsd-b86068a3fefd9690ecb9b3026169571ecd34fb7c.zip |
Remove what appears to be a copy-paste error setting cur_ttb
in pmap_free_l1().
from aalm@ - thanks
ok patrick@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/arm/arm/pmap7.c | 9 |
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); |