projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
935effc
)
cpu-all.h: fix cpu_get_real_ticks() #ifdef
author
Aurelien Jarno
<aurelien@aurel32.net>
Sun, 20 Dec 2009 20:18:57 +0000
(21:18 +0100)
committer
Aurelien Jarno
<aurelien@aurel32.net>
Sun, 20 Dec 2009 20:18:57 +0000
(21:18 +0100)
Reported-by: Hervé Poussineau <hpoussin@reactos.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
cpu-all.h
patch
|
blob
|
history
diff --git
a/cpu-all.h
b/cpu-all.h
index e21437499ef7c767d767aa8a740694b62713df56..57b69f8865a15173f027dd9333325d91d1aa1d45 100644
(file)
--- a/
cpu-all.h
+++ b/
cpu-all.h
@@
-1017,7
+1017,8
@@
static inline int64_t cpu_get_real_ticks (void)
#endif
}
-#elif (defined(__mips_isa_rev) && __mips_isa_rev >= 2) || defined(__linux__)
+#elif defined(__mips__) && \
+ ((defined(__mips_isa_rev) && __mips_isa_rev >= 2) || defined(__linux__))
/*
* binutils wants to use rdhwr only on mips32r2
* but as linux kernel emulate it, it's fine