powerpc: use ATB clock, if it's available
authorJens Axboe <axboe@kernel.dk>
Tue, 26 Feb 2013 13:43:02 +0000 (14:43 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 26 Feb 2013 13:43:02 +0000 (14:43 +0100)
The ATB is more precise, but we don't know if it's available.
Check by forking off a process that attempts to use it, if
we die with SIGILL, then we know it's not there.

Based on code from Steven Noonan.

Signed-off-by: Jens Axboe <axboe@kernel.dk>

No differences found