[PATCH] x86: Fix potential overflow in perfctr reservation
authorAndi Kleen <ak@suse.de>
Mon, 16 Apr 2007 08:30:27 +0000 (10:30 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Mon, 16 Apr 2007 08:30:27 +0000 (10:30 +0200)
While reviewing this code again I found a potential overflow of the bitmap.
The p4 oprofile can theoretically set bits beyond the reservation bitmap for
specific configurations. Avoid that by sizing the bitmaps properly.

Signed-off-by: Andi Kleen <ak@suse.de>

No differences found