Skip to content

Commit

Permalink
PCI/AER: Move AER severity defines to aer.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Betty Dall authored and Bjorn Helgaas committed Jun 6, 2013
1 parent 8d2a171 commit 9e50a91
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/pci/pcie/aer/aerdrv.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@
#include <linux/aer.h>
#include <linux/interrupt.h>

#define AER_NONFATAL 0
#define AER_FATAL 1
#define AER_CORRECTABLE 2

#define SYSTEM_ERROR_INTR_ON_MESG_MASK (PCI_EXP_RTCTL_SECEE| \
PCI_EXP_RTCTL_SENFEE| \
PCI_EXP_RTCTL_SEFEE)
Expand Down
4 changes: 4 additions & 0 deletions include/linux/aer.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9e50a91

Please sign in to comment.