From patchwork Sun Jul 9 18:32:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 107261 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2541457qge; Sun, 9 Jul 2017 11:37:29 -0700 (PDT) X-Received: by 10.98.77.6 with SMTP id a6mr41976520pfb.221.1499625449773; Sun, 09 Jul 2017 11:37:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499625449; cv=none; d=google.com; s=arc-20160816; b=A8vpfCH4oRKk4OmKs7pB9TZbOvgBc2VVo/j9Eb8A65tzNwT9MQ2++KN2Rrm9rH+9LG dhszP23OElUh5YnE4JNZHBK57PquFE5qeA+59qv+WcSEVFLJRfKiOQW2CvpswrWZCqQx YSWichnAcnwSVl0kcPgL6vgCNB/PEsS3UKkBU5EDHG0gqlrqbamofHh03s52v3adj0kW ITnz8nB3o85TzmZzKwsgwtXf0aylhgW+l+xWDRSTukb5RNlUHnm9jwllvy/o7+GXwJb3 NW2QDmNGad20+Z9Wu0nuqCBwNbWgzGXatm4UkJM0YH1KpDo3lNioud9/H5juTW6pnsJ4 lMSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter :arc-authentication-results; bh=bzAug0TpbIIaP19x/Z174uh9ZozAO1i6ps8sl79jB+w=; b=XSyylLTUwp+yi8NktQcDeymN/chtEZyKcW/NDSI+7FRYcjahqErQUrGCX/ISPzTCqo YM6hGPcuegb/sFH+LEowwhXd6+p/A/nTI4byhnHroXT9xIERMH+wQA1aw2XKbTjJOrJh lExQqfLJs4gRrdux96RldxKcO8NzdoYRb1Og3lh0k4HQrlSd9quizqHNTboJr//u2aME vHK9wshJ0frMnJBmsf0zmuP65j1F702sV3h6GXnkRvM0ipqvPCLCnwKfN0YfUhx5OvnA lrY07RlvYIQfy6FIriu1qxMdqpK8HkYA0B1CC2wgEEVofMMZ2u70TehFPlmw6IJ0BR/d Fddw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.b=qlaXBJaN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g26si6367337pge.212.2017.07.09.11.37.29; Sun, 09 Jul 2017 11:37:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.b=qlaXBJaN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753137AbdGISg6 (ORCPT + 25 others); Sun, 9 Jul 2017 14:36:58 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:45734 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752569AbdGISdT (ORCPT ); Sun, 9 Jul 2017 14:33:19 -0400 Received: from grover.sesame (FL1-122-131-185-176.osk.mesh.ad.jp [122.131.185.176]) (authenticated) by conuserg-08.nifty.com with ESMTP id v69IX2D7000353; Mon, 10 Jul 2017 03:33:13 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v69IX2D7000353 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1499625193; bh=bzAug0TpbIIaP19x/Z174uh9ZozAO1i6ps8sl79jB+w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qlaXBJaNaS+2I2soTY9jxKNqae94rdehZRwjt61ZvbY6ocRm8OU9FgORyu3tWfJe6 tYI+uxRnkmyjcmeXZ1z7NTtCHYl/oi33fdD/EpvXqZ6J/jF60Dk1xTaPkKbv/hxjlC 3SSDMCI7XVpI0M04om+ZKqaHbM0d8Lfcug1k+zMHvN6fHR5dHSQh0g757PN1JWxB4/ tsUsytzIBzpW5gLyk9gIWmiCN84o4+CUjTk86+lK3/pbDVj02jNwiSwIrNlpPwa8S8 m9oXfZDIJ/aljX9kSqw0/0h2zJCbVS58F8kOGr0fVrVqLU/wJfpRvWvOWZxfHZFgTW 3ms9otJ6k8E4w== X-Nifty-SrcIP: [122.131.185.176] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: linux-arch@vger.kernel.org, Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH v2 11/28] hexagon: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 10 Jul 2017 03:32:43 +0900 Message-Id: <1499625180-8067-12-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1499625180-8067-1-git-send-email-yamada.masahiro@socionext.com> References: <1499625180-8067-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. To complete de-coupling the uapi from kernel headers, move generic-y of exported headers to uapi/asm/Kbuild. With this change, "make headers_install" will just need to parse uapi/asm/Kbuild to build up exported headers. Also, move "generic-y += kprobes.h" up in order to keep the entries sorted. Signed-off-by: Masahiro Yamada --- arch/hexagon/include/asm/Kbuild | 24 +----------------------- arch/hexagon/include/uapi/asm/Kbuild | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 23 deletions(-) -- 2.7.4 diff --git a/arch/hexagon/include/asm/Kbuild b/arch/hexagon/include/asm/Kbuild index 0fc9cb04e6ad..34013683d123 100644 --- a/arch/hexagon/include/asm/Kbuild +++ b/arch/hexagon/include/asm/Kbuild @@ -1,4 +1,3 @@ -generic-y += auxvec.h generic-y += barrier.h generic-y += bug.h generic-y += bugs.h @@ -7,53 +6,32 @@ generic-y += current.h generic-y += device.h generic-y += div64.h generic-y += emergency-restart.h -generic-y += errno.h generic-y += extable.h generic-y += fb.h -generic-y += fcntl.h generic-y += ftrace.h generic-y += hardirq.h generic-y += hw_irq.h -generic-y += ioctl.h -generic-y += ioctls.h generic-y += iomap.h -generic-y += ipcbuf.h generic-y += irq_regs.h generic-y += irq_work.h generic-y += kdebug.h generic-y += kmap_types.h +generic-y += kprobes.h generic-y += local.h generic-y += local64.h generic-y += mcs_spinlock.h generic-y += mm-arch-hooks.h -generic-y += mman.h -generic-y += msgbuf.h generic-y += pci.h generic-y += percpu.h -generic-y += poll.h -generic-y += posix_types.h generic-y += preempt.h -generic-y += resource.h generic-y += rwsem.h generic-y += sections.h generic-y += segment.h -generic-y += sembuf.h generic-y += serial.h -generic-y += shmbuf.h -generic-y += shmparam.h generic-y += sizes.h -generic-y += socket.h -generic-y += sockios.h -generic-y += stat.h -generic-y += statfs.h -generic-y += termbits.h -generic-y += termios.h generic-y += topology.h generic-y += trace_clock.h -generic-y += types.h -generic-y += ucontext.h generic-y += unaligned.h generic-y += vga.h generic-y += word-at-a-time.h generic-y += xor.h -generic-y += kprobes.h diff --git a/arch/hexagon/include/uapi/asm/Kbuild b/arch/hexagon/include/uapi/asm/Kbuild index b55fc2ae1e8c..cb5df3aad3a8 100644 --- a/arch/hexagon/include/uapi/asm/Kbuild +++ b/arch/hexagon/include/uapi/asm/Kbuild @@ -1,4 +1,26 @@ # UAPI Header export list include include/uapi/asm-generic/Kbuild.asm +generic-y += auxvec.h +generic-y += errno.h +generic-y += fcntl.h +generic-y += ioctl.h +generic-y += ioctls.h +generic-y += ipcbuf.h +generic-y += mman.h +generic-y += msgbuf.h +generic-y += poll.h +generic-y += posix_types.h +generic-y += resource.h +generic-y += sembuf.h +generic-y += shmbuf.h +generic-y += shmparam.h generic-y += siginfo.h +generic-y += socket.h +generic-y += sockios.h +generic-y += stat.h +generic-y += statfs.h +generic-y += termbits.h +generic-y += termios.h +generic-y += types.h +generic-y += ucontext.h