From 22d89ad5bda8e6a15d97a5b412950c10bfbcb1cb Mon Sep 17 00:00:00 2001 From: Niklas Hallqvist Date: Sun, 14 Jan 1996 21:20:11 +0000 Subject: 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(-) (limited to 'sys') 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); } /* -- cgit v1.2.3