[PATCH 04/27] arm64: move generic-y of exported headers to uapi/asm/Kbuild
From: catalin.marinas@arm.com (Catalin Marinas)
Date: 2017-06-12 12:09:30
Also in:
linux-arch, linux-kbuild, lkml
From: catalin.marinas@arm.com (Catalin Marinas)
Date: 2017-06-12 12:09:30
Also in:
linux-arch, linux-kbuild, lkml
On Mon, Jun 12, 2017 at 12:26:58PM +0900, Masahiro Yamada wrote:
Since commit fcc8487d477a ("uapi: export all headers under uapi
directories"), all (and only) headers under uapi directories are
exported, but asm-generic wrappers are still exceptions.
scripts/Makefile.headersinst still need to deal with old-kbuild-file
for headers listed in arch/*/include/asm/Kbuild, but actually exported.
As the last work to finish de-coupling the uapi from kernel headers,
move generic-y of exported headers to uapi/asm/Kbuild.
For arm64, "generic-y += kvm_para.h" is doubled in asm/Kbuild and
uapi/asm/Kbuild. So, the one in the former can be simply removed.
Signed-off-by: Masahiro Yamada <redacted>
---
arch/arm64/include/asm/Kbuild | 17 -----------------
arch/arm64/include/uapi/asm/Kbuild | 16 ++++++++++++++++
2 files changed, 16 insertions(+), 17 deletions(-)Acked-by: Catalin Marinas <catalin.marinas@arm.com>