diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2016-08-16 10:16:34 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2016-08-16 10:16:34 +0000 |
commit | 9847648b6d3f7966a17c2d98b14bf8670456e292 (patch) | |
tree | df392ed88fbd4dac74835b711bf85d9dea2e57ac /sys | |
parent | 5513094058b4319762a520f2b26619354bb8482a (diff) |
Fix typo/inconsistensy where L1_S_DOMAIN was used instead of L1_C_DOMAIN.
These are functionally equivolent so it didn't matter and the resulting
code doesn't change.
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 9c614480108..57e98ec3085 100644 --- a/sys/arch/arm/arm/pmap7.c +++ b/sys/arch/arm/arm/pmap7.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap7.c,v 1.37 2016/08/11 00:28:06 kettenis Exp $ */ +/* $OpenBSD: pmap7.c,v 1.38 2016/08/16 10:16:33 kettenis Exp $ */ /* $NetBSD: pmap.c,v 1.147 2004/01/18 13:03:50 scw Exp $ */ /* @@ -2810,7 +2810,7 @@ pmap_link_l2pt(vaddr_t l1pt, vaddr_t va, pv_addr_t *l2pv) pd_entry_t *pde = (pd_entry_t *) l1pt, proto; u_int slot = va >> L1_S_SHIFT; - proto = L1_S_DOM(PMAP_DOMAIN_KERNEL) | L1_C_PROTO; + proto = L1_C_DOM(PMAP_DOMAIN_KERNEL) | L1_C_PROTO; pde[slot + 0] = proto | (l2pv->pv_pa + 0x000); #ifdef ARM32_NEW_VM_LAYOUT |