]> git.baikalelectronics.ru Git - kernel.git/commit
PCI/portdrv: Add #defines for AER and DPC Interrupt Message Number masks
authorDongdong Liu <liudongdong3@huawei.com>
Wed, 11 Oct 2017 10:52:58 +0000 (18:52 +0800)
committerBjorn Helgaas <helgaas@kernel.org>
Thu, 19 Oct 2017 23:02:01 +0000 (18:02 -0500)
commit5926ec67c4e1ac84ff76a15b57d5cc2056be0f3f
tree78d359b1ba0a4756adfe1374d5a9228d4423c212
parentb888c937506147d5d77f24afb038b53ae6e1b4f2
PCI/portdrv: Add #defines for AER and DPC Interrupt Message Number masks

In the AER case, the mask isn't strictly necessary because there are no
higher-order bits above the Interrupt Message Number, but using a #define
will make it possible to grep for it.

Suggested-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Dongdong Liu <liudongdong3@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
drivers/pci/pcie/portdrv_core.c
include/uapi/linux/pci_regs.h