]> git.baikalelectronics.ru Git - kernel.git/commit
oprofile: Fix p6 counter overflow check
authorAndi Kleen <andi@firstfloor.org>
Fri, 7 Nov 2008 13:02:49 +0000 (14:02 +0100)
committerRobert Richter <robert.richter@amd.com>
Fri, 7 Nov 2008 16:34:41 +0000 (17:34 +0100)
commit6c030212712cebec24910d0a3342f05c0e98b119
tree6244f6e9da1cc6078e5d314b90031a5af307a4b6
parent75673b588e3c6336c502569577aa3383f4cf0047
oprofile: Fix p6 counter overflow check

Fix the counter overflow check for CPUs with counter width > 32

I had a similar change in a different patch that I didn't submit
and I didn't notice the problem earlier because it was always
tested together.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Robert Richter <robert.richter@amd.com>
arch/x86/oprofile/op_model_ppro.c