]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3c1cc52d0e8e2d97c309c69c21b4704f25195874
tree4f8043ef4bccf3779b5d7d180d82cf18f451e025
parent3f1ea025eb2e8597d3aa0f62bd8f792d87af7a31
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