perf: Simplify task_clock_event_read()
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Tue, 22 Feb 2011 15:52:24 +0000 (16:52 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 23 Feb 2011 10:35:47 +0000 (11:35 +0100)
commit768a06e2ca49cdf72389208cfc056a36cf8bc5e3
treecd3e40f7d83526747785e7d4954ce96a5a3d69c7
parent3f7cce3c18188a067d463749168bdda5abc5b0f7
perf: Simplify task_clock_event_read()

There is no point in us having different code paths for nmi and !nmi
here, so remove the !nmi one.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/perf_event.c