diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2009-12-20 21:18:57 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2009-12-20 21:18:57 +0100 |
commit | 9706c06d9c93b6d94785b6b14565b61ddae95a04 (patch) | |
tree | f49dc4b96b4b6eb95f87606bfc49eb3450274c49 /cpu-all.h | |
parent | 935effc2bbd2c441b755a8d280811a9763fdb98c (diff) |
cpu-all.h: fix cpu_get_real_ticks() #ifdef
Reported-by: Hervé Poussineau <hpoussin@reactos.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'cpu-all.h')
-rw-r--r-- | cpu-all.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |