]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc077d9b6374440570e815f49d37f70f72591f8c3
treec48ed504f52682b88f91e82a50586013410edd7f
parent4e8f636ebee37e75e8aa90f8b5e2648f788ef400
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