[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191113071836.21041-3-hch@lst.de>
Date: Wed, 13 Nov 2019 08:18:35 +0100
From: Christoph Hellwig <hch@....de>
To: Muli Ben-Yehuda <mulix@...ix.org>, Jon Mason <jdmason@...zu.us>,
x86@...nel.org
Cc: linux-kernel@...r.kernel.org, iommu@...ts.linux-foundation.org
Subject: [PATCH 2/3] x86/pci: Remove pci_64.h
This file only contains external declarations for two non-existing
function pointers.
Signed-off-by: Christoph Hellwig <hch@....de>
---
arch/x86/include/asm/pci.h | 4 ----
arch/x86/include/asm/pci_64.h | 14 --------------
2 files changed, 18 deletions(-)
delete mode 100644 arch/x86/include/asm/pci_64.h
diff --git a/arch/x86/include/asm/pci.h b/arch/x86/include/asm/pci.h
index e662f987dfa2..d9e28aad2738 100644
--- a/arch/x86/include/asm/pci.h
+++ b/arch/x86/include/asm/pci.h
@@ -120,10 +120,6 @@ void native_restore_msi_irqs(struct pci_dev *dev);
#endif
#endif /* __KERNEL__ */
-#ifdef CONFIG_X86_64
-#include <asm/pci_64.h>
-#endif
-
/* generic pci stuff */
#include <asm-generic/pci.h>
diff --git a/arch/x86/include/asm/pci_64.h b/arch/x86/include/asm/pci_64.h
deleted file mode 100644
index 4e1aef506aa5..000000000000
--- a/arch/x86/include/asm/pci_64.h
+++ /dev/null
@@ -1,14 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef _ASM_X86_PCI_64_H
-#define _ASM_X86_PCI_64_H
-
-#ifdef __KERNEL__
-
-extern int (*pci_config_read)(int seg, int bus, int dev, int fn,
- int reg, int len, u32 *value);
-extern int (*pci_config_write)(int seg, int bus, int dev, int fn,
- int reg, int len, u32 value);
-
-#endif /* __KERNEL__ */
-
-#endif /* _ASM_X86_PCI_64_H */
--
2.20.1
Powered by blists - more mailing lists