From e601f7ae0cd2e15a74fe1fbd9092b180b3e56e0f Mon Sep 17 00:00:00 2001 From: niklas Date: Sun, 14 Jan 1996 21:20:10 +0000 Subject: [PATCH] Use dma_cachectl instead of cachectl when writing into the kernel text segment. Ordinary cachectl is for userlevel virtual addresses. --- sys/arch/amiga/amiga/db_memrw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } /* -- 2.20.1