mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-07 22:35:05 +07:00
x86/PCI: move final fixups from __init to __devinit
Final fixups are executed during device enumeration. If we support hotplug, this may be after boot, so final fixups cannot be __init. [bhelgaas: changelog] Signed-off-by: Myron Stowe <myron.stowe@redhat.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
This commit is contained in:
parent
02d4b36bf0
commit
ce6ed7e7f7
@ -512,7 +512,7 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_SBX00_SMBUS,
|
|||||||
|
|
||||||
#if defined(CONFIG_PCI) && defined(CONFIG_NUMA)
|
#if defined(CONFIG_PCI) && defined(CONFIG_NUMA)
|
||||||
/* Set correct numa_node information for AMD NB functions */
|
/* Set correct numa_node information for AMD NB functions */
|
||||||
static void __init quirk_amd_nb_node(struct pci_dev *dev)
|
static void __devinit quirk_amd_nb_node(struct pci_dev *dev)
|
||||||
{
|
{
|
||||||
struct pci_dev *nb_ht;
|
struct pci_dev *nb_ht;
|
||||||
unsigned int devfn;
|
unsigned int devfn;
|
||||||
|
Loading…
Reference in New Issue
Block a user