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)
commita66a3052e2d4c5815d7ad26887b1d4193206e691
tree4f8043ef4bccf3779b5d7d180d82cf18f451e025
parenta4234bfcf4d72a10a99176cdef007345e9c3b4aa
perf_events: Undo copy/paste damage

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