]> git.karo-electronics.de Git - karo-tx-linux.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)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 14 Mar 2012 14:57:54 +0000 (10:57 -0400)
commit74ec2d9c80f18aea8fdab944dc514623904470c9
tree24be6f52d973f9e2da632dcbab0a0db7ce768308
parent8044fd5387ea8981bab15045a9001baad285da66
x86: pvclock: Move scale_delta into common header

commit 347bb4448c2155eb2310923ccaa4be5677649003 upstream.

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>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/x86/include/asm/pvclock.h
arch/x86/kernel/pvclock.c