From 388879eeaf37146723dd896fd34024ce562e3ece Mon Sep 17 00:00:00 2001 From: thorpej Date: Fri, 5 Apr 2002 03:42:39 +0000 Subject: [PATCH] Use pte_cache_mode instead of PT_CACHEABLE. --- sys/arch/arm/mainbus/mainbus_io.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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());