mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
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>
This commit is contained in:
parent
bb9b8fd26b
commit
9304d1621e
1 changed files with 1 additions and 7 deletions
|
@ -77,14 +77,8 @@ static inline bool is_vmd(struct pci_bus *bus)
|
|||
|
||||
extern unsigned int pcibios_assign_all_busses(void);
|
||||
extern int pci_legacy_init(void);
|
||||
# ifdef CONFIG_ACPI
|
||||
# define x86_default_pci_init pci_acpi_init
|
||||
# else
|
||||
# define x86_default_pci_init pci_legacy_init
|
||||
# endif
|
||||
#else
|
||||
# define pcibios_assign_all_busses() 0
|
||||
# define x86_default_pci_init NULL
|
||||
static inline int pcibios_assign_all_busses(void) { return 0; }
|
||||
#endif
|
||||
|
||||
extern unsigned long pci_mem_start;
|
||||
|
|
Loading…
Reference in a new issue