Default to CS_GTOD if CONFIG_CLOCK_GETTIME isn't defined.
authorBruce Cran <bruce@cran.org.uk>
Sat, 2 Feb 2013 20:54:36 +0000 (20:54 +0000)
committerJens Axboe <axboe@kernel.dk>
Sun, 3 Feb 2013 12:49:32 +0000 (13:49 +0100)
commit86e53416e5758d56e950af6cfbe407065ef36879
treebe6eab281f4009c5e4b741f92aa32f747888ad3e
parentab9461eaea21e861cc777aae2420db8f486ed1e2
Default to CS_GTOD if CONFIG_CLOCK_GETTIME isn't defined.

Defaulting the clock source to CS_CGETTIME broke on OS X because it
doesn't have clock_gettime. Use CS_GTOD if CONFIG_CLOCK_GETTIME isn't
defined.

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