]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit347bb4448c2155eb2310923ccaa4be5677649003
tree93f5592975413c00c6c647001d715324e27cf985
parentca84d1a24c376e0841f35db08dab7b829c8c0b1e
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