projects
/
qemu
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix Sparc/Linux host breakage by df70204db53e3611af986f434e74a882bce190ca
[qemu]
/
cpu-all.h
diff --git
a/cpu-all.h
b/cpu-all.h
index
1a6a812
..
ebe8bfb
100644
(file)
--- a/
cpu-all.h
+++ b/
cpu-all.h
@@
-1021,7
+1021,7
@@
static inline int64_t cpu_get_real_ticks (void)
static inline int64_t cpu_get_real_ticks(void)
{
-#if __mips_isa_rev >= 2
+#if defined(__mips_isa_rev) && __mips_isa_rev >= 2
uint32_t count;
static uint32_t cyc_per_count = 0;