projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
948fdcf
)
x86/pci: Remove #ifdef __KERNEL__ guard from <asm/pci.h>
author
Christoph Hellwig
<hch@lst.de>
Wed, 13 Nov 2019 07:18:36 +0000
(08:18 +0100)
committer
Thomas Gleixner
<tglx@linutronix.de>
Fri, 15 Nov 2019 09:37:14 +0000
(10:37 +0100)
pci.h is not a UAPI header, so the __KERNEL__ ifdef is rather pointless.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link:
https://lkml.kernel.org/r/20191113071836.21041-4-hch@lst.de
arch/x86/include/asm/pci.h
patch
|
blob
|
history
diff --git
a/arch/x86/include/asm/pci.h
b/arch/x86/include/asm/pci.h
index d9e28aad27382b4b63ff259367d4e8865d0bbe1e..90d0731fdcb6337c8c49719fcea1cabe4af43b54 100644
(file)
--- a/
arch/x86/include/asm/pci.h
+++ b/
arch/x86/include/asm/pci.h
@@
-12,8
+12,6
@@
#include <asm/pat.h>
#include <asm/x86_init.h>
-#ifdef __KERNEL__
-
struct pci_sysdata {
int domain; /* PCI domain */
int node; /* NUMA node */
@@
-118,7
+116,6
@@
void native_restore_msi_irqs(struct pci_dev *dev);
#define native_setup_msi_irqs NULL
#define native_teardown_msi_irq NULL
#endif
-#endif /* __KERNEL__ */
/* generic pci stuff */
#include <asm-generic/pci.h>