File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -229,6 +229,7 @@ int pcie_aer_is_native(struct pci_dev *dev)
229
229
230
230
return pcie_ports_native || host -> native_aer ;
231
231
}
232
+ EXPORT_SYMBOL_NS_GPL (pcie_aer_is_native , CXL );
232
233
233
234
static int pci_enable_pcie_error_reporting (struct pci_dev * dev )
234
235
{
Original file line number Diff line number Diff line change @@ -29,10 +29,8 @@ extern bool pcie_ports_dpc_native;
29
29
30
30
#ifdef CONFIG_PCIEAER
31
31
int pcie_aer_init (void );
32
- int pcie_aer_is_native (struct pci_dev * dev );
33
32
#else
34
33
static inline int pcie_aer_init (void ) { return 0 ; }
35
- static inline int pcie_aer_is_native (struct pci_dev * dev ) { return 0 ; }
36
34
#endif
37
35
38
36
#ifdef CONFIG_HOTPLUG_PCI_PCIE
Original file line number Diff line number Diff line change @@ -42,11 +42,13 @@ struct aer_capability_regs {
42
42
43
43
#if defined(CONFIG_PCIEAER )
44
44
int pci_aer_clear_nonfatal_status (struct pci_dev * dev );
45
+ int pcie_aer_is_native (struct pci_dev * dev );
45
46
#else
46
47
static inline int pci_aer_clear_nonfatal_status (struct pci_dev * dev )
47
48
{
48
49
return - EINVAL ;
49
50
}
51
+ static inline int pcie_aer_is_native (struct pci_dev * dev ) { return 0 ; }
50
52
#endif
51
53
52
54
void cper_print_aer (struct pci_dev * dev , int aer_severity ,
You can’t perform that action at this time.
0 commit comments