Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: Fix off by one in perf_swevent_init()
The perf_swevent_enabled[] array has PERF_COUNT_SW_MAX elements. Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> LKML-Reference: <20101024195041.GT5985@bicker> Signed-off-by: Ingo Molnar <[email protected]>
- Loading branch information