PCI MSI: Define PCI_MSI_MASK_32/64
authorHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Mon, 20 Apr 2009 01:54:59 +0000 (10:54 +0900)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 11 Jun 2009 19:04:06 +0000 (12:04 -0700)
commit67b5db6502ddd27d65dea43bf036abbd82d0dfc9
treec48ed504f52682b88f91e82a50586013410edd7f
parent64f039d3d7f574943165b1afb72ee25caa1a9a91
PCI MSI: Define PCI_MSI_MASK_32/64

Impact: cleanup, improve readability

Define PCI_MSI_MASK_32/64 for 32/64bit devices, instead of using
implicit offset (-4), "PCI_MSI_MASK_BIT - 4" and "PCI_MSI_MASK_BIT".

Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Reviewed-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/msi.c
drivers/pci/msi.h
include/linux/pci_regs.h