diff --git a/sys/arch/arm/mainbus/mainbus_io.c b/sys/arch/arm/mainbus/mainbus_io.c index f8353e8d2911..e89c927ef60f 100644 --- a/sys/arch/arm/mainbus/mainbus_io.c +++ b/sys/arch/arm/mainbus/mainbus_io.c @@ -1,4 +1,4 @@ -/* $NetBSD: mainbus_io.c,v 1.8 2002/03/24 03:37:25 thorpej Exp $ */ +/* $NetBSD: mainbus_io.c,v 1.9 2002/04/05 03:42:39 thorpej Exp $ */ /* * Copyright (c) 1997 Mark Brinicombe. @@ -163,9 +163,9 @@ mainbus_bs_map(t, bpa, size, cacheable, bshp) pmap_kenter_pa(va, pa, VM_PROT_READ | VM_PROT_WRITE); pte = vtopte(va); if (cacheable) - *pte |= PT_CACHEABLE; + *pte |= pte_cache_mode; else - *pte &= ~PT_CACHEABLE; + *pte &= ~pte_cache_mode; } pmap_update(pmap_kernel());