From: Robert Richter Date: Wed, 29 Apr 2009 10:47:22 +0000 (+0200) Subject: perf_counter, x86: return raw count with x86_perf_counter_update() X-Git-Tag: v2.6.31-rc1~383^2~330 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b7bfd0d276da3a006d37e85d3cf900d7a14ae2a;p=pandora-kernel.git perf_counter, x86: return raw count with x86_perf_counter_update() To check on AMD cpus if a counter overflows, the upper bit of the raw counter value must be checked. This value is already internally available in x86_perf_counter_update(). Now, the value is returned so that it can be used directly to check for overflows. [ Impact: micro-optimization ] Signed-off-by: Robert Richter Cc: Paul Mackerras Acked-by: Peter Zijlstra LKML-Reference: <1241002046-8832-26-git-send-email-robert.richter@amd.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed