]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9279188ff85b4a0e4398d430afd3433351ecb0dc
treecd3e40f7d83526747785e7d4954ce96a5a3d69c7
parent4e54844e0137b840f04f699de3f588538efe2c87
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