diff options
author | 2009-03-05 14:05:57 +1100 | |
---|---|---|
committer | 2009-03-06 08:07:13 +1100 | |
commit | 86028598de16538f02519141756ccf4accfc29a6 (patch) | |
tree | b2afaf03f578547bda536d0d99e87636e59216ea /kernel/sys.c | |
parent | perfcounters: IRQ and NMI support on AMD CPUs, fix (diff) | |
download | linux-rng-86028598de16538f02519141756ccf4accfc29a6.tar.xz linux-rng-86028598de16538f02519141756ccf4accfc29a6.zip |
perfcounters/powerpc: fix oops with multiple counters in a group
Impact: fix oops-causing bug
This fixes a bug in the powerpc hw_perf_counter_init where the code
didn't initialize ctrs[n] before passing the ctrs array to check_excludes,
leading to possible oopses and other incorrect behaviour. This fixes it
by initializing ctrs[n] correctly.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'kernel/sys.c')
0 files changed, 0 insertions, 0 deletions