]> asedeno.scripts.mit.edu Git - linux.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)
commit7c950b9e53732f574e3a46d37c62f1f33d0b218c
tree78d359b1ba0a4756adfe1374d5a9228d4423c212
parent9e66317d3c92ddaab330c125dfe9d06eee268aff
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