aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/setup.c
diff options
context:
space:
mode:
authorSinan Kaya <okaya@codeaurora.org>2018-06-04 22:16:09 -0400
committerBjorn Helgaas <helgaas@kernel.org>2018-06-29 20:06:07 -0500
commit11eb0e0e8dea8b97cff972b09cf6fb033b729dff (patch)
tree84ca9d5c2ae77c4bb21984c68469b75c37eb80ad /arch/x86/kernel/setup.c
parentPCI: Cleanup PCI_REBAR_CTRL_BAR_SHIFT handling (diff)
downloadlinux-dev-11eb0e0e8dea8b97cff972b09cf6fb033b729dff.tar.xz
linux-dev-11eb0e0e8dea8b97cff972b09cf6fb033b729dff.zip
PCI: Make early dump functionality generic
Move early dump functionality into common code so that it is available for all architectures. No need to carry arch-specific reads around as the read hooks are already initialized by the time pci_setup_device() is getting called during scan. Tested-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Sinan Kaya <okaya@codeaurora.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Diffstat (limited to 'arch/x86/kernel/setup.c')
-rw-r--r--arch/x86/kernel/setup.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index 2f86d883dd95..480f250b3c4f 100644
--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -991,11 +991,6 @@ void __init setup_arch(char **cmdline_p)
setup_clear_cpu_cap(X86_FEATURE_APIC);
}
-#ifdef CONFIG_PCI
- if (pci_early_dump_regs)
- early_dump_pci_devices();
-#endif
-
e820__reserve_setup_data();
e820__finish_early_params();