perf_events: Undo copy/paste damage
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Mon, 23 Nov 2009 10:37:23 +0000 (11:37 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 23 Nov 2009 10:49:55 +0000 (11:49 +0100)
We had two almost identical functions, avoid the duplication.

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

Simple merge