summaryrefslogtreecommitdiffstats
path: root/virt/kvm/ioapic.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2013-07-18 16:21:14 -0700
committerJohn Stultz <john.stultz@linaro.org>2013-07-30 11:24:20 -0700
commit87d8b9eb7eb6669aad6435a51e9862362141ba76 (patch)
tree904750465607175129393328e299fb9474adb604 /virt/kvm/ioapic.c
parentad81f0545ef01ea651886dddac4bef6cec930092 (diff)
downloadop-kernel-dev-87d8b9eb7eb6669aad6435a51e9862362141ba76.zip
op-kernel-dev-87d8b9eb7eb6669aad6435a51e9862362141ba76.tar.gz
clocksource: Extract max nsec calculation into separate function
We need to calculate the same number in the clocksource code and the sched_clock code, so extract this code into its own function. We also drop the min_t and just use min() because the two types are the same. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'virt/kvm/ioapic.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud