summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-01-14 21:20:11 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-01-14 21:20:11 +0000
commit22d89ad5bda8e6a15d97a5b412950c10bfbcb1cb (patch)
treeedd9a941e439a55d8a0da5244feae437877ce283 /sys
parentd5134ee5cf79283ff740459223dd529b7507150c (diff)
Use dma_cachectl instead of cachectl when writing into the kernel text
segment. Ordinary cachectl is for userlevel virtual addresses.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/amiga/amiga/db_memrw.c2
1 files changed, 1 insertions, 1 deletions
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);
}
/*