aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBetty Dall <betty.dall@hp.com>2013-06-06 12:10:49 -0600
committerBjorn Helgaas <bhelgaas@google.com>2013-06-06 14:34:14 -0600
commit9e50a9122f048c67a4e83916434e2e212a6f0fe2 (patch)
tree238b6a8e96867740a6543030fd0cb49490a53eb0 /include
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 'include')
-rw-r--r--include/linux/aer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/aer.h b/include/linux/aer.h
index ec10e1b24c1..d2cf2e4f9c2 100644
--- a/include/linux/aer.h
+++ b/include/linux/aer.h
@@ -7,6 +7,10 @@
#ifndef _AER_H_
#define _AER_H_
+#define AER_NONFATAL 0
+#define AER_FATAL 1
+#define AER_CORRECTABLE 2
+
struct aer_header_log_regs {
unsigned int dw0;
unsigned int dw1;