x86: pvclock: create helper for pvclock data retrieval
authorMarcelo Tosatti <mtosatti@redhat.com>
Wed, 28 Nov 2012 01:28:51 +0000 (23:28 -0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Wed, 28 Nov 2012 01:29:07 +0000 (23:29 -0200)
commitdce2db0a35197e2f4421245079f19ab753e97348
treec3151bef0ca980cf1c1af1fa6c4585df41e5a760
parent42b5637d6989f75a7a0e8ea8633583564ff443ff
x86: pvclock: create helper for pvclock data retrieval

Originally from Jeremy Fitzhardinge.

So code can be reused.

Acked-by: Glauber Costa <glommer@parallels.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/include/asm/pvclock.h
arch/x86/kernel/pvclock.c