diff options
author | 2009-06-23 17:39:27 +0900 | |
---|---|---|
committer | 2009-06-29 12:16:19 -0700 | |
commit | 7ba1930db02fc3118165338ef4e562869f575583 (patch) | |
tree | 6d889549aa2e15c6762c7cfc87764adfc3d6af4b /lib/spinlock_debug.c | |
parent | PCI MSI: shorten PCI_MSIX_ENTRY_* symbol names (diff) | |
download | linux-rng-7ba1930db02fc3118165338ef4e562869f575583.tar.xz linux-rng-7ba1930db02fc3118165338ef4e562869f575583.zip |
PCI MSI: Unmask MSI if setup failed
The initial state of mask register of MSI is unmasked. We set it
masked before calling arch_setup_msi_irqs(). If arch_setup_msi_irq()
fails, it is better to restore the state of the mask register.
Reviewed-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'lib/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions