mirror of https://github.com/xemu-project/xemu.git
cpu-all.h: fix cpu_get_real_ticks() #ifdef
Reported-by: Hervé Poussineau <hpoussin@reactos.org> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
935effc2bb
commit
9706c06d9c
|
@ -1017,7 +1017,8 @@ static inline int64_t cpu_get_real_ticks (void)
|
||||||
#endif
|
#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
|
* binutils wants to use rdhwr only on mips32r2
|
||||||
* but as linux kernel emulate it, it's fine
|
* but as linux kernel emulate it, it's fine
|
||||||
|
|
Loading…
Reference in New Issue