aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/pcie/aer
diff options
context:
space:
mode:
authorBetty Dall <betty.dall@hp.com>2013-06-06 14:10:49 -0400
committerBjorn Helgaas <bhelgaas@google.com>2013-06-06 16:34:14 -0400
commit9e50a9122f048c67a4e83916434e2e212a6f0fe2 (patch)
tree238b6a8e96867740a6543030fd0cb49490a53eb0 /drivers/pci/pcie/aer
parent8d2a171f18f7cc9271ee3b9f1355fa4a13380320 (diff)
PCI/AER: Move AER severity defines to aer.h
The function aer_recover_queue() is a public interface and the severity argument uses #defines that are in the private header pci/pcie/aer/aerdrv.h. This patch moves the #defines from pci/pcie/aer/aerdrv.h to include/linux/aer.h. [bhelgaas: split "remove 'extern' from declarations" to another patch] Signed-off-by: Betty Dall <betty.dall@hp.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/pcie/aer')
-rw-r--r--drivers/pci/pcie/aer/aerdrv.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/pci/pcie/aer/aerdrv.h b/drivers/pci/pcie/aer/aerdrv.h
index d12c77cd6991..90ea3e88041f 100644
--- a/drivers/pci/pcie/aer/aerdrv.h
+++ b/drivers/pci/pcie/aer/aerdrv.h
@@ -13,10 +13,6 @@
13#include <linux/aer.h> 13#include <linux/aer.h>
14#include <linux/interrupt.h> 14#include <linux/interrupt.h>
15 15
16#define AER_NONFATAL 0
17#define AER_FATAL 1
18#define AER_CORRECTABLE 2
19
20#define SYSTEM_ERROR_INTR_ON_MESG_MASK (PCI_EXP_RTCTL_SECEE| \ 16#define SYSTEM_ERROR_INTR_ON_MESG_MASK (PCI_EXP_RTCTL_SECEE| \
21 PCI_EXP_RTCTL_SENFEE| \ 17 PCI_EXP_RTCTL_SENFEE| \
22 PCI_EXP_RTCTL_SEFEE) 18 PCI_EXP_RTCTL_SEFEE)