projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27245c7
)
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
e214374
..
57b69f8
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