diff options
author | 2012-05-13 15:33:04 +0300 | |
---|---|---|
committer | 2012-05-13 16:09:39 +0300 | |
commit | 1d8a0e963ac532e038d93ab0d30bbfad072f3bf8 (patch) | |
tree | 536607fafd1014ff9f189092944e7d023b08f93b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 3.4-rc6 (diff) | |
download | linux-dev-1d8a0e963ac532e038d93ab0d30bbfad072f3bf8.tar.xz linux-dev-1d8a0e963ac532e038d93ab0d30bbfad072f3bf8.zip |
ARM: OMAP: enable mailbox irq per instance
The machine-specific omap2_mbox_startup is called only once
to initialize the whole mbox module, and as a result,
enabling the mbox irq at that point only works for the very first
mailbox instance opened.
Instead, this patch makes sure enable_irq() is called every
time a new mbox instance is opened. In addition, we're now
enabling the mbox's irq only after its notifier_block is registered,
to avoid possible race of receiving an interrupt without invoking
the user's notifier callback.
Signed-off-by: Juan Gutierrez <jgutierrez@ti.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
[ohad@wizery.com: slightly reworded the commit log]
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions