| commit | 6a4e909fee6a5da28054ad92a4f435b7ba18351a | [log] [tgz] |
|---|---|---|
| author | Yinghai Lu <yinghai@kernel.org> | Thu Jan 26 23:15:11 2012 -0800 |
| committer | Yinghai Lu <yinghai@kernel.org> | Thu Jan 26 23:15:11 2012 -0800 |
| tree | 6328a419545c631b7cc31996c01d3db25fecb684 | |
| parent | 5e6f66d1bbdcc470ca75111a4c9186eda5644902 [diff] |
iommu, irq: alloc irq_desc for dmar_msi with local node Also fix the return value checking problem. create_irq() will return -1 when fail to allocate. create_irq_nr() will return 0 when fail to allocate. here only check !irq, so need to change it to create_irq_nr. Signed-off-by: Yinghai Lu <yinghai@kernel.org>