x86: pvclock: make sure rdtsc doesnt speculate out of region
authorMarcelo Tosatti <mtosatti@redhat.com>
Wed, 28 Nov 2012 01:28:49 +0000 (23:28 -0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Wed, 28 Nov 2012 01:29:06 +0000 (23:29 -0200)
commitb01578de45614c085be319229a52774b61ffe6fb
tree8b62c15388702fba531d55da29d988c274df0236
parent7069ed67635b8d574541af426d752cd7fbd465a6
x86: pvclock: make sure rdtsc doesnt speculate out of region

Originally from Jeremy Fitzhardinge.

pvclock_get_time_values, which contains the memory barriers
will be removed by next patch.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kernel/pvclock.c