Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Betty Dall and committed by
Bjorn Helgaas
9e50a912 8d2a171f

+4 -4
-4
drivers/pci/pcie/aer/aerdrv.h
··· 13 13 #include <linux/aer.h> 14 14 #include <linux/interrupt.h> 15 15 16 - #define AER_NONFATAL 0 17 - #define AER_FATAL 1 18 - #define AER_CORRECTABLE 2 19 - 20 16 #define SYSTEM_ERROR_INTR_ON_MESG_MASK (PCI_EXP_RTCTL_SECEE| \ 21 17 PCI_EXP_RTCTL_SENFEE| \ 22 18 PCI_EXP_RTCTL_SEFEE)
+4
include/linux/aer.h
··· 7 7 #ifndef _AER_H_ 8 8 #define _AER_H_ 9 9 10 + #define AER_NONFATAL 0 11 + #define AER_FATAL 1 12 + #define AER_CORRECTABLE 2 13 + 10 14 struct aer_header_log_regs { 11 15 unsigned int dw0; 12 16 unsigned int dw1;