]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit264d9caaa1c574c0274b019a810abfe957391005
tree06ac3d9df11a0e64e2f8571145e8865424fb7dc6
parent379f5327a86f7822a51ec7d088a085167724df75
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