Rather than import uapi headers, just include them. I've put an RFC on this series because it will now require kernel headers to be installed on the build machine. I'm guessing that's not a big problem, but before we commit to it, it'd be good to hear opinions from others. This change wouldn't be worth it just for psci.h, but we're looking at PCI support now, and thus we'll also want pci.h (and pci_regs.h). Although after pci.h I'm not sure what else we'll eventually want. If nothing, then maybe importing pci.h is also the right thing to do? Thanks, drew Andrew Jones (2): lib: link in linux kernel headers (uapi) Revert "arm/arm64: import include/uapi/linux/psci.h" .gitignore | 1 + Makefile | 4 +-- configure | 9 ++++++ lib/arm/asm/page.h | 2 +- lib/arm/asm/psci.h | 2 +- lib/arm/asm/uapi-psci.h | 73 ----------------------------------------------- lib/arm64/asm/page.h | 2 +- lib/arm64/asm/psci.h | 2 +- lib/arm64/asm/uapi-psci.h | 1 - lib/asm-generic/page.h | 2 +- lib/const.h | 11 ------- 11 files changed, 17 insertions(+), 92 deletions(-) delete mode 100644 lib/arm/asm/uapi-psci.h delete mode 100644 lib/arm64/asm/uapi-psci.h delete mode 100644 lib/const.h -- 2.4.3 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html