diff options
Diffstat (limited to 'util/cacheinfo.c')
-rw-r--r-- | util/cacheinfo.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/util/cacheinfo.c b/util/cacheinfo.c index 6c8fe797bf..3cd080b83d 100644 --- a/util/cacheinfo.c +++ b/util/cacheinfo.c @@ -8,6 +8,7 @@ #include "qemu/osdep.h" #include "qemu/host-utils.h" +#include "qemu/atomic.h" int qemu_icache_linesize = 0; int qemu_icache_linesize_log; @@ -182,4 +183,6 @@ static void __attribute__((constructor)) init_cache_info(void) qemu_icache_linesize_log = ctz32(isize); qemu_dcache_linesize = dsize; qemu_dcache_linesize_log = ctz32(dsize); + + atomic64_init(); } |