]> git.baikalelectronics.ru Git - kernel.git/commit
PCI MSI: Use mask_pos instead of mask_base when appropriate
authorMatthew Wilcox <willy@linux.intel.com>
Tue, 17 Mar 2009 12:54:08 +0000 (08:54 -0400)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 20 Mar 2009 17:48:13 +0000 (10:48 -0700)
commit431aeb2af30ca31c02aa879262c644c201635fc0
tree06ac3d9df11a0e64e2f8571145e8865424fb7dc6
parent389be4d30651b562acc7a89a95b662ce295b2a48
PCI MSI: Use mask_pos instead of mask_base when appropriate

MSI interrupts have a mask_pos where MSI-X have a mask_base.  Use a
transparent union to get rid of some ugly casts.

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/msi.c
include/linux/msi.h