diff options
author | Sinan Kaya <okaya@codeaurora.org> | 2018-06-05 04:16:09 +0200 |
---|---|---|
committer | Bjorn Helgaas <helgaas@kernel.org> | 2018-06-30 03:06:07 +0200 |
commit | 11eb0e0e8dea8b97cff972b09cf6fb033b729dff (patch) | |
tree | 84ca9d5c2ae77c4bb21984c68469b75c37eb80ad /arch/x86/kernel/setup.c | |
parent | PCI: Cleanup PCI_REBAR_CTRL_BAR_SHIFT handling (diff) | |
download | linux-11eb0e0e8dea8b97cff972b09cf6fb033b729dff.tar.xz linux-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.c | 5 |
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(); |