diff options
author | Arnaud Patard <arnaud.patard@rtp-net.org> | 2009-04-11 16:02:46 +0200 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2009-11-24 19:51:13 +0100 |
commit | fea0ac23c739721264d5bcb0f87718041960a6aa (patch) | |
tree | 6cb29419caed5db763b6ed544006fae26c880ce7 /target-ppc | |
parent | 3ca055883b2a4b0099f1fcb34c5e72fc8e1fa05d (diff) |
cpu-all.h: fix cpu_get_real_ticks on mips host
Fix cpu_get_real_ticks:
- check should be done on __mips and not __mips_isa_rev
- linux kernels >= 2.6.25 are emulating the 2 needed rdhwr functions
so it's safe to use rdhwr.
This is better than what's currently in but it doesn't mean it works nicely
Some tests needs to be done imho
Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-ppc')
0 files changed, 0 insertions, 0 deletions