diff options
author | Robert Richter <robert.richter@amd.com> | 2009-04-29 12:47:22 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-29 14:51:13 +0200 |
commit | 4b7bfd0d276da3a006d37e85d3cf900d7a14ae2a (patch) | |
tree | ed4fe623afebdeb17e0a9ccc833f2154cd815991 /arch/m68k/install.sh | |
parent | a29aa8a7ff93e4196d558036928597e68337dd8d (diff) |
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 <robert.richter@amd.com>
Cc: Paul Mackerras <paulus@samba.org>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1241002046-8832-26-git-send-email-robert.richter@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/m68k/install.sh')
0 files changed, 0 insertions, 0 deletions