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)
commit7c64ade53a6f977d73f16243865c42ceae999aea
tree6244f6e9da1cc6078e5d314b90031a5af307a4b6
parent99219b4f3e0772a11fc0d98213b00e89fee7b049
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