diff options
author | John Stultz <[email protected]> | 2012-07-13 01:21:55 -0400 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2012-07-15 10:39:06 +0200 |
commit | f2a5a0854efc62abe7f69e9947842cb135837f9a (patch) | |
tree | 02db590982e92fb514f2d8b1791a49ec5b02d484 /drivers/scsi/mpt2sas/mpi | |
parent | 1f4f948706bcec1b51bf6492bf04057d2e21e273 (diff) |
time: Move arch_gettimeoffset() usage into timekeeping_get_ns()
Since we call arch_gettimeoffset() in all the accessor
functions, move arch_gettimeoffset() calls into
timekeeping_get_ns() and timekeeping_get_ns_raw() to simplify
the code.
This also makes the code easier to maintain as we don't have to
worry about forgetting the arch_gettimeoffset() as has happened
in the past.
Signed-off-by: John Stultz <[email protected]>
Reviewed-by: Ingo Molnar <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Richard Cochran <[email protected]>
Cc: Prarit Bhargava <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi')
0 files changed, 0 insertions, 0 deletions