x86, vmi: TSC going backwards check in vmi clocksource, cleanup
authorAlok Kataria <akataria@vmware.com>
Fri, 20 Feb 2009 18:23:18 +0000 (10:23 -0800)
committerIngo Molnar <mingo@elte.hu>
Fri, 20 Feb 2009 18:31:03 +0000 (19:31 +0100)
commitfdb17aeb28aaad3eae5ef57e70cb287d34d1049d
treee89021b7396266476eb89e8ae97526d4f8579e31
parent609162850db11dfe3b23f43b36888aa8b3ad7685
x86, vmi: TSC going backwards check in vmi clocksource, cleanup

clean up vmi_read_cycles to use max()

Reported-b: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Alok N Kataria <akataria@vmware.com>
Cc: Zach Amsden <zach@vmware.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/vmiclock_32.c