From: niklas Date: Sun, 14 Jan 1996 21:20:10 +0000 (+0000) Subject: Use dma_cachectl instead of cachectl when writing into the kernel text X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e601f7ae0cd2e15a74fe1fbd9092b180b3e56e0f;p=openbsd Use dma_cachectl instead of cachectl when writing into the kernel text segment. Ordinary cachectl is for userlevel virtual addresses. --- diff --git a/sys/arch/amiga/amiga/db_memrw.c b/sys/arch/amiga/amiga/db_memrw.c index 189620f6422..b41200af49e 100644 --- a/sys/arch/amiga/amiga/db_memrw.c +++ b/sys/arch/amiga/amiga/db_memrw.c @@ -112,7 +112,7 @@ db_write_text(dst, ch) *pte = oldpte; TBIS(dst); - cachectl (4, dst, 1); + dma_cachectl (dst, 1); } /*