]> git.baikalelectronics.ru Git - kernel.git/commit
x86: pvclock: Move scale_delta into common header
authorZachary Amsden <zamsden@redhat.com>
Fri, 20 Aug 2010 08:07:29 +0000 (22:07 -1000)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:51:24 +0000 (10:51 +0200)
commit7303dd26f54a6ae335fbeb87973c144fb25ab8e0
tree93f5592975413c00c6c647001d715324e27cf985
parentb102c49c67ca18d271c1042f206b339fd2c73803
x86: pvclock: Move scale_delta into common header

The scale_delta function for shift / multiply with 31-bit
precision moves to a common header so it can be used by both
kernel and kvm module.

Signed-off-by: Zachary Amsden <zamsden@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/include/asm/pvclock.h
arch/x86/kernel/pvclock.c