diff options
author | Patrick Wildt <patrick@cvs.openbsd.org> | 2013-05-22 12:27:45 +0000 |
---|---|---|
committer | Patrick Wildt <patrick@cvs.openbsd.org> | 2013-05-22 12:27:45 +0000 |
commit | 04b38e57ea534b5bee8c93a3705a75b8ee459761 (patch) | |
tree | 9a7b8e0ee38916c4f1e5506cee32f88721cb5b35 /sys | |
parent | 4be32253d7b9853800c2ef174b980bc4943c564d (diff) |
We're handling L2 there, so use the corresponding define, not the L1 one.
ok bmercer@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/arm/arm/pmap7.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/arm/arm/pmap7.c b/sys/arch/arm/arm/pmap7.c index a5d59e670ea..08816295f97 100644 --- a/sys/arch/arm/arm/pmap7.c +++ b/sys/arch/arm/arm/pmap7.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap7.c,v 1.6 2013/05/21 18:25:40 patrick Exp $ */ +/* $OpenBSD: pmap7.c,v 1.7 2013/05/22 12:27:44 patrick Exp $ */ /* $NetBSD: pmap.c,v 1.147 2004/01/18 13:03:50 scw Exp $ */ /* @@ -1019,7 +1019,7 @@ pmap_uncache_page(paddr_t va, vaddr_t pa) pte = vtopte(va); *pte &= ~L2_S_CACHE_MASK; - *pte |= L1_S_B; /* device memory */ + *pte |= L2_B; /* device memory */ PTE_SYNC(pte); cpu_tlb_flushD_SE(va); cpu_cpwait(); |