diff options
author | ian <ian@FreeBSD.org> | 2014-04-26 23:09:01 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2014-04-26 23:09:01 +0000 |
commit | b6e63d67c1a4455e4a9fe2a54863deaa07c265ea (patch) | |
tree | f5c633fc3242c8eb4947eed83cdc44f45caca8cd | |
parent | 54161963086d37025ea8968ed345e6f82ba89e2a (diff) | |
download | FreeBSD-src-b6e63d67c1a4455e4a9fe2a54863deaa07c265ea.zip FreeBSD-src-b6e63d67c1a4455e4a9fe2a54863deaa07c265ea.tar.gz |
Call cpu_icache_sync_range() rather than sync_all since we know the range
and flushing the entire icache is needlessly expensive.
-rw-r--r-- | sys/arm/include/kdb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/include/kdb.h b/sys/arm/include/kdb.h index 2f0b087..b04cd58 100644 --- a/sys/arm/include/kdb.h +++ b/sys/arm/include/kdb.h @@ -49,7 +49,7 @@ static __inline void kdb_cpu_sync_icache(unsigned char *addr, size_t size) { - cpu_icache_sync_all(); + cpu_icache_sync_range((vm_offset_t)addr, size); } static __inline void |