]> Git Repo - qemu.git/blobdiff - cpu-all.h
savevm.c: fix warning with _FORTIFY_SOURCE
[qemu.git] / 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
This page took 0.01972 seconds and 4 git commands to generate.