OSDN Git Service

x86/pci: Remove #ifdef __KERNEL__ guard from <asm/pci.h>
authorChristoph Hellwig <hch@lst.de>
Wed, 13 Nov 2019 07:18:36 +0000 (08:18 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 15 Nov 2019 09:37:14 +0000 (10:37 +0100)
commitb52b0c4fc977901c243756e191f3fc686725b7d9
tree1931717aa152c34eb12cd24995bba3bfbb06695a
parent948fdcf94289b15f86ce8206abd92a3f7d12360a
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 <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