From: Glauber de Oliveira Costa Date: Wed, 30 Jan 2008 12:31:03 +0000 (+0100) Subject: x86: split get_cycles_sync X-Git-Tag: v2.6.25-rc1~1143^2~648 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e87173eacfd0d798aeeba14026893797826bc93;p=pandora-kernel.git x86: split get_cycles_sync This patch splits get_cycles_sync() into __get_cycles_sync(), and the rdtscll part. Paravirt guests cannot issue rdtscl directly, as it involves a function call in vdso area. So, using the __get_cycles_sync() base, we introduce vget_cycles_sync, which then calls the native version of rdtscll. Ideally, however, a guest should define its own clocksource, together with a vread function Signed-off-by: Glauber de Oliveira Costa Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed