perf: Optimize __perf_event_read()
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 20 Nov 2009 21:19:51 +0000 (22:19 +0100)
committerIngo Molnar <mingo@elte.hu>
Sat, 21 Nov 2009 13:11:38 +0000 (14:11 +0100)
commitf6f83785222b0ee037f7be90731f62a649292b5e
treefcafe2c4addc41ac2d65eb29c45ff2cee240efc3
parent02ffdbc866c8b1c8644601e9aa6155700eed4c91
perf: Optimize __perf_event_read()

Both callers actually have IRQs disabled, no need doing so
again.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <20091120212508.863685796@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/perf_event.c