From: Andrew Jones Subject: [kvm-unit-tests RFC PATCH 0/2] try another approach for uapi headers Date: Thu, 10 Sep 2015 13:31:54 +0200 Message-ID: <1441884716-15355-1-git-send-email-drjones@redhat.com> Cc: alex.bennee@linaro.org, andre.przywara@arm.com, wei@redhat.com, lkurusa@redhat.com, pbonzini@redhat.com To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:56436 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750923AbbIJLcB (ORCPT ); Thu, 10 Sep 2015 07:32:01 -0400 Sender: kvm-owner@vger.kernel.org List-ID: 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