summaryrefslogtreecommitdiff
path: root/sys/arch/arm
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2013-05-10 10:25:53 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2013-05-10 10:25:53 +0000
commitf72e68e796f8ba080fea37378b1ebaf90cd899ad (patch)
tree5e5595b9cc560cff7f3ce6809877cbf3b816472c /sys/arch/arm
parent68929e589077233822640281103028c6ac9df319 (diff)
Flush the secondary cache when dumping.
ok miod@
Diffstat (limited to 'sys/arch/arm')
-rw-r--r--sys/arch/arm/arm/stubs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/arm/arm/stubs.c b/sys/arch/arm/arm/stubs.c
index e2544415769..56bee9e4df4 100644
--- a/sys/arch/arm/arm/stubs.c
+++ b/sys/arch/arm/arm/stubs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: stubs.c,v 1.6 2008/06/27 17:22:14 miod Exp $ */
+/* $OpenBSD: stubs.c,v 1.7 2013/05/10 10:25:52 patrick Exp $ */
/* $NetBSD: stubs.c,v 1.14 2003/07/15 00:24:42 lukem Exp $ */
/*
@@ -140,6 +140,7 @@ dumpsys()
savectx(&dumppcb);
/* flush everything out of caches */
cpu_dcache_wbinv_all();
+ cpu_sdcache_wbinv_all();
if (dumpdev == NODEV)
return;