summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2014-04-27 18:12:55 +0000
committerian <ian@FreeBSD.org>2014-04-27 18:12:55 +0000
commitb934a68cf32b6f598e326d978f6df6e685a5e6d3 (patch)
tree0d768e71c699632bd85c570794fd68293c095ef1
parenta153bd777051fa468ad3d0f5a99c8ab0ee7b8796 (diff)
downloadFreeBSD-src-b934a68cf32b6f598e326d978f6df6e685a5e6d3.zip
FreeBSD-src-b934a68cf32b6f598e326d978f6df6e685a5e6d3.tar.gz
Remove cpu_idcache_wbinv_all() from kdb_cpu_trap(), it's no longer needed.
This was added ca. 2004 for the purpose of ensuring the caches were in the right state after the debugger set a breakpoint. kdb_cpu_sync_icache() was added in 2007 to handle that situation, and now the wbinv_all is actually harmful because the operation isn't broadcast to other cores.
-rw-r--r--sys/arm/include/kdb.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/arm/include/kdb.h b/sys/arm/include/kdb.h
index b04cd58..98099a3 100644
--- a/sys/arm/include/kdb.h
+++ b/sys/arm/include/kdb.h
@@ -55,8 +55,6 @@ kdb_cpu_sync_icache(unsigned char *addr, size_t size)
static __inline void
kdb_cpu_trap(int type, int code)
{
-
- cpu_idcache_wbinv_all();
}
#endif /* _MACHINE_KDB_H_ */
OpenPOWER on IntegriCloud