summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2013-05-10 10:25:52 +0000
committerpatrick <patrick@openbsd.org>2013-05-10 10:25:52 +0000
commit13c3b5b3cf910b381e6692d27bcc4ee9e83b45fc (patch)
tree60e557f3f3531c9f9813bff4e3eee48eaa75c571
parentRemove an instruction cache sync which is not needed. (diff)
downloadwireguard-openbsd-13c3b5b3cf910b381e6692d27bcc4ee9e83b45fc.tar.xz
wireguard-openbsd-13c3b5b3cf910b381e6692d27bcc4ee9e83b45fc.zip
Flush the secondary cache when dumping.
ok miod@
-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;