diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2011-01-06 17:04:50 +0000 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-01-07 11:03:26 +0900 |
commit | 661382fe190475c17d0b3a6b5f0350b4f82f5939 (patch) | |
tree | 3609fdecc5b29a6875cbe92cca747096819db7b4 /tools/perf/builtin-annotate.c | |
parent | 3c0cb7c31c206aaedb967e44b98442bbeb17a6c4 (diff) |
dma: shdma: don't register the global die notifier multiple times
A recent patch has added a die notifier to the shdma driver, however,
it registers a static die-notifier object in the probe routine, i.e.,
for each device instance. This is wrong and leads to a system lockup.
This patch moves the die notifier registration to module init and
exit routines respectively.
Reported-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions