diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2017-03-16 17:50:03 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2017-06-28 16:32:55 -0400 |
commit | 9304d1621e6019c63497f8a4aad09d003916dbe9 (patch) | |
tree | 91653c7f90aee6e90f2a0e8dce828bd9dcce48c9 | |
parent | bb9b8fd26b50c9ec822805b9d877bec9d88acff4 (diff) |
x86/PCI: Remove duplicate defines
For some historic reason these defines are duplicated and also available in
arch/x86/include/asm/pci_x86.h,
Remove them.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Bjorn Helgaas <helgaas@kernel.org>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: linux-pci@vger.kernel.org
Link: http://lkml.kernel.org/r/20170316215056.967808646@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r-- | arch/x86/include/asm/pci.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/x86/include/asm/pci.h b/arch/x86/include/asm/pci.h index f513cc231151..473a7295ab10 100644 --- a/arch/x86/include/asm/pci.h +++ b/arch/x86/include/asm/pci.h | |||
@@ -77,14 +77,8 @@ static inline bool is_vmd(struct pci_bus *bus) | |||
77 | 77 | ||
78 | extern unsigned int pcibios_assign_all_busses(void); | 78 | extern unsigned int pcibios_assign_all_busses(void); |
79 | extern int pci_legacy_init(void); | 79 | extern int pci_legacy_init(void); |
80 | # ifdef CONFIG_ACPI | ||
81 | # define x86_default_pci_init pci_acpi_init | ||
82 | # else | ||
83 | # define x86_default_pci_init pci_legacy_init | ||
84 | # endif | ||
85 | #else | 80 | #else |
86 | # define pcibios_assign_all_busses() 0 | 81 | static inline int pcibios_assign_all_busses(void) { return 0; } |
87 | # define x86_default_pci_init NULL | ||
88 | #endif | 82 | #endif |
89 | 83 | ||
90 | extern unsigned long pci_mem_start; | 84 | extern unsigned long pci_mem_start; |