Skip to content

Commit b52b0c4

Browse files
Christoph HellwigKAGA-KOKO
authored andcommitted
x86/pci: Remove #ifdef __KERNEL__ guard from <asm/pci.h>
pci.h is not a UAPI header, so the __KERNEL__ ifdef is rather pointless. Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent 948fdcf commit b52b0c4

File tree

1 file changed

+0
-3
lines changed
  • arch/x86/include/asm

1 file changed

+0
-3
lines changed

arch/x86/include/asm/pci.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
#include <asm/pat.h>
1313
#include <asm/x86_init.h>
1414

15-
#ifdef __KERNEL__
16-
1715
struct pci_sysdata {
1816
int domain; /* PCI domain */
1917
int node; /* NUMA node */
@@ -118,7 +116,6 @@ void native_restore_msi_irqs(struct pci_dev *dev);
118116
#define native_setup_msi_irqs NULL
119117
#define native_teardown_msi_irq NULL
120118
#endif
121-
#endif /* __KERNEL__ */
122119

123120
/* generic pci stuff */
124121
#include <asm-generic/pci.h>

0 commit comments

Comments
 (0)