From: Catalin Udma Date: Wed, 5 Jun 2013 20:22:08 +0000 (-0500) Subject: powerpc/perf: increase the perf HW events to 6 X-Git-Tag: v3.12-rc1~123^2~110^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96c3c9e78f7fe45303985cce13ce26e35afd01ba;p=pandora-kernel.git powerpc/perf: increase the perf HW events to 6 This change is required after the e6500 perf support has been added. There are 6 counters in e6500 core instead of 4 in e500 core and the MAX_HWEVENTS counter should be changed accordingly from 4 to 6. Added also runtime check for counters overflow. Signed-off-by: Catalin Udma Signed-off-by: Lijun Pan Signed-off-by: Scott Wood --- Reading git-diff-tree failed