Merge branch 'merge' into next

Brings in various bug fixes from 3.6-rcX
This commit is contained in:
Benjamin Herrenschmidt
2012-09-07 09:48:59 +10:00
1124 changed files with 12465 additions and 8185 deletions

View File

@@ -1431,7 +1431,7 @@ static void perf_event_interrupt(struct pt_regs *regs)
if (!event->hw.idx || is_limited_pmc(event->hw.idx))
continue;
val = read_pmc(event->hw.idx);
if ((int)val < 0) {
if (pmc_overflow(val)) {
/* event has overflowed */
found = 1;
record_and_restart(event, val, regs);