perf_counter: Fix stack corruption in perf_read_hw
authorMarti Raudsepp <marti@juffo.org>
Fri, 12 Jun 2009 23:35:01 +0000 (02:35 +0300)
committerIngo Molnar <mingo@elte.hu>
Sat, 13 Jun 2009 10:58:24 +0000 (12:58 +0200)
commitd5e8da6449d4ef4bac35ea9b9719a2cda02e7b39
treee2de81cecc4b72a7ae35624672d878e4c22bb5e9
parent87847b8f26cc7176ec9b239898dc7ce47a94e1a6
perf_counter: Fix stack corruption in perf_read_hw

With PERF_FORMAT_ID, perf_read_hw now needs space for up to 4 values.

Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/perf_counter.c