From: Rusty Russell Date: Tue, 11 Mar 2008 14:35:56 +0000 (-0500) Subject: lguest: Sanitize the lguest clock. X-Git-Tag: v2.6.25-rc6~49^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fabc55f34b72720e8a10aa442bd3415a211edb3;p=pandora-kernel.git lguest: Sanitize the lguest clock. Now the TSC code handles a zero return from calculate_cpu_khz(), lguest can simply pass through the value it gets from the Host: if non-zero, all the normal TSC code applies. Otherwise (or if the Host really doesn't support TSC), the clocksource code will fall back to the slower but reasonable lguest clock. Signed-off-by: Rusty Russell --- Reading git-diff-tree failed