Use dma_cachectl instead of cachectl when writing into the kernel text
authorniklas <niklas@openbsd.org>
Sun, 14 Jan 1996 21:20:10 +0000 (21:20 +0000)
committerniklas <niklas@openbsd.org>
Sun, 14 Jan 1996 21:20:10 +0000 (21:20 +0000)
segment.  Ordinary cachectl is for userlevel virtual addresses.

sys/arch/amiga/amiga/db_memrw.c

index 189620f..b41200a 100644 (file)
@@ -112,7 +112,7 @@ db_write_text(dst, ch)
 
        *pte = oldpte;
        TBIS(dst);
-       cachectl (4, dst, 1);
+       dma_cachectl (dst, 1);
 }
 
 /*