commit | 4247d1a9a27b6a23092a2c75e94e0545ad6a3376 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Tue Feb 26 14:43:02 2013 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Feb 26 14:43:02 2013 +0100 |
tree | df51bf794e6b48b74d9f3262f973e4d21a4224e7 | |
parent | 0f78b22cb13d2e59b134ee80bafa669679504bd6 [diff] |
powerpc: use ATB clock, if it's available 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>