git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cee010e
)
perf: Fix perf_init_event()
author
Peter Zijlstra
<a.p.zijlstra@chello.nl>
Fri, 10 Sep 2010 15:38:06 +0000
(17:38 +0200)
committer
Ingo Molnar
<mingo@elte.hu>
Fri, 10 Sep 2010 15:41:55 +0000
(17:41 +0200)
We ought to return -ENOENT when non of the registered PMUs
recognise the requested event.
This fixes a boot crash that occurs if no PMU is available
but the NMI watchdog tries to register an event.
Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/perf_event.c
patch
|
blob
|
history
diff --cc
kernel/perf_event.c
Simple merge