From patchwork Sun Jul 9 18:32:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 107270 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2542896qge; Sun, 9 Jul 2017 11:39:49 -0700 (PDT) X-Received: by 10.84.217.22 with SMTP id o22mr14435856pli.19.1499625589161; Sun, 09 Jul 2017 11:39:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499625589; cv=none; d=google.com; s=arc-20160816; b=P+wn3O1NPFfw0G92YYBVCEZ3f//HDv1b5mT63XE74myhIa/QkdW4Xj8mAOSGt+PyAA 8v+TXEi+claz7IfTZOIUPNzIr6k3EblxFzuvD/aci0XLziJehEcLS+097xSehwWcN5Jd WEEJOVgC/u7kFw/TxWVIyUhHxNfEEPPek44NPCz7qPvh/phpnyBNGr3lWkPeYZbsCZFh za7To3XQIT8CQajPuydchluCPr7WvDmDqCrJgSwHFp7hnu2nDMLC8YBnIMisdiEFWfBi rmTsPF9jkARJkYhH4FSi8QzBDajXTfpftebExVNobuXNnXuqNHZVumcvwIUeBi/IBC4I KaIw== 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=sYQbDKxKYWpDeoQpYrc3yiRB83gRMS+rB9akqPv07Z8=; b=uA/vEY3VPy4bPhoou3afs84QulGqPCVfhGwyMviroBH/P1uDD18kho4IVVLk6g+mMT Bn+t9gNhk+V20c1lgoGJNfG78+U0lKgi/gR6yE9mFePVPi3M6ECGnpx95kLREl1hdPe3 VhryjngoU84NLC1tnu3Z4kveKEXrq9Rr1zTXJ+dRSqksdv++t4EhacTcxFpz29DRn8nO skhwE9KSvi13n0oJ42rxU+CHy6Bud1HnTzC/6xdbTbpzP0UgRD+lktBIn2tTi0qLB5uM SAgx+MEypgqTn2Slxrw87aEYzcZTvyojN0cWvjRVlYyL07F/q5+8sy8MWF4cnZQlCFp4 4EPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.b=BGhyiRmK; 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 c66si6322934pfc.226.2017.07.09.11.39.48; Sun, 09 Jul 2017 11:39:49 -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=BGhyiRmK; 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 S1753196AbdGISjD (ORCPT + 25 others); Sun, 9 Jul 2017 14:39:03 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:45692 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752532AbdGISdR (ORCPT ); Sun, 9 Jul 2017 14:33:17 -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 v69IX2Cv000353; Mon, 10 Jul 2017 03:33:08 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v69IX2Cv000353 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1499625189; bh=sYQbDKxKYWpDeoQpYrc3yiRB83gRMS+rB9akqPv07Z8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BGhyiRmKZpq+3IR+jdMWBUTtPyX+9tKDfxIqNFu4Nkqce2wtO/Zz5zPnlt572Hz7G wLGMOcxMe3K58nPgObwPR42QrAh+x1SMXHNBJNtrznW1iZkWQ9Qe8RKUTD2U96vfaB GQhxdt7Ujt1k86mSXwWxbub+62xf4833o5u2WUvemgTAGqKNsE2sUzcmT+bxBfd9yW 3NeFnoH6w0SSSlEGga4o+IF7qAjhBujq1TfGuwOlHox7Ujzr49Ztw7E0Lh7urt4ggA iH178/of6zHmI9yAtReDOoX8nPB0yvGBpst0ZjCumYih9q1FOM2Lpp/tV2Bq9Vg4TP ytjZcpBxteLnw== 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 01/28] kbuild: remove useless $(gen) variable in Makefile.headersinst Date: Mon, 10 Jul 2017 03:32:33 +0900 Message-Id: <1499625180-8067-2-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 We have no true case for the $(if $(gen), ...) conditional. Drop it to simplify the gendir calculation. Signed-off-by: Masahiro Yamada --- scripts/Makefile.headersinst | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) -- 2.7.4 diff --git a/scripts/Makefile.headersinst b/scripts/Makefile.headersinst index c583a1e1bd3c..4e9287bfdf28 100644 --- a/scripts/Makefile.headersinst +++ b/scripts/Makefile.headersinst @@ -39,9 +39,6 @@ skip-inst := $(if $(filter %/uapi,$(obj)),1) ifeq ($(skip-inst),) -# generated header directory -gen := $(if $(gen),$(gen),$(subst include/,include/generated/,$(obj))) - # Kbuild file is optional kbuild-file := $(srctree)/$(obj)/Kbuild -include $(kbuild-file) @@ -53,7 +50,7 @@ endif installdir := $(INSTALL_HDR_PATH)/$(subst uapi/,,$(_dst)) -gendir := $(objtree)/$(gen) +gendir := $(objtree)/$(subst include/,include/generated/,$(obj)) header-files := $(notdir $(wildcard $(srcdir)/*.h)) header-files += $(notdir $(wildcard $(srcdir)/*.agh)) header-files := $(filter-out $(no-export-headers), $(header-files)) From patchwork Sun Jul 9 18:32:34 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 107258 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2541150qge; Sun, 9 Jul 2017 11:37:01 -0700 (PDT) X-Received: by 10.84.204.133 with SMTP id b5mr14280321ple.77.1499625421473; Sun, 09 Jul 2017 11:37:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499625421; cv=none; d=google.com; s=arc-20160816; b=dFcZwaxsY6wIqVQJ/v8EivXimZfgLaMkRhTfuzmCz7iJA/eA9sF78lnQLfomCuBGHp EfMSRnGdBYSsUs6JM5sebIdxBiIQ4mjiQHH8J4AoMzsgsaed+0zYmkf/SdiPBmQlTuin iBC4rsTd89gDCE/g8hnQM4eagju56JmglHl+P151Oci0MtM9As5EH9U4OCXpnrlX0TeK HLua+IDyXkBTWGJemXLTBY8GH0YJSE7FmSpjLeIADt1/eXlnze2ovRRvx+4dmUgUqd3N VstHE7BZP2b7Z2TTfnA3/GJHFzRBBZyuZlkJ0LEm4z0Gq7EKLObywweQEVDJ9K5HZxWC 0J5A== 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=y501vB95Y0UGhcsXbH2qRUW6WgazbCReBBDM8n+lOMo=; b=HvTqsjuirQOsVWUBR/5oPyPtc93125aRTIebgS1E3fX/tPgGIS0h+9C9Wjdo2d0KaT MUTTRh0jUZ92f1xvosM8idMfOhCM6ZigGWzLHtcQO5weRx+lHyWUvO5cLM2jJO4fwQKS GKWl1EPeJ44HeR68Zwk2/Yl1oT/Q/VWxh873DQt6nAAmIYixS6s1GI16lgpLX/a9kEND oVa3eUnlfVGRBYG4PCXA/LVmdifMymjkNoNaNzjV4JlMAH/byRvX87nJsJ8ETbWr7L5L djWmucwccf7/RLTPiuMpFaabnXDxAvtwct3l9ELcQQ+3wOVvclctO+IKqkr92JAtNJ7X 11WA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.b=c/6r5jjK; 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 v24si6403152pfl.202.2017.07.09.11.37.01; Sun, 09 Jul 2017 11:37:01 -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=c/6r5jjK; 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 S1752613AbdGISdU (ORCPT + 25 others); Sun, 9 Jul 2017 14:33:20 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:45702 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752430AbdGISdR (ORCPT ); Sun, 9 Jul 2017 14:33:17 -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 v69IX2Cw000353; Mon, 10 Jul 2017 03:33:09 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v69IX2Cw000353 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1499625189; bh=y501vB95Y0UGhcsXbH2qRUW6WgazbCReBBDM8n+lOMo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=c/6r5jjKoEj76VA1P8y4mGHrN3rNu1KW9MT5ioi2vb9nuZA0SIz6PtwU1//0doqo3 Ql5w+U7mHLzSsX11i61hwD3crotb42SZJGsxlrvCC81fxvlRVccQof4cypLMNDt5+f 2vj1vNl5zm/EBvsdijgA/8QP1G48gjAbGdIYYNafrhX1NtFKDd6y+TBxgsHQ3B8Mvd zJf6lf8SBFZPj75YzgR9HsIxqGbLIPOWzwHVGdmcJZay2I8QsJYJXdRNlRn1X4HMfK V5Yrhsw9vtcNMZBz9O98KXGD9kEUPt86YjmqdO5Z7mVIh50MBJgVKgQM/VYeC/sl1D pUZPYCiEzZU7w== 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 02/28] kbuild: fix comment about dst of headers_{install, check}_all Date: Mon, 10 Jul 2017 03:32:34 +0900 Message-Id: <1499625180-8067-3-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 Commit 61562f981e92 ("uapi: export all arch specifics directories") changed the dst from asm- to arch- for headers_install_all or headers_check_all. Update the comment. Signed-off-by: Masahiro Yamada --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 diff --git a/Makefile b/Makefile index 06ef9947cf7c..ce5875628740 100644 --- a/Makefile +++ b/Makefile @@ -1133,7 +1133,7 @@ firmware_install: #Default location for installed headers export INSTALL_HDR_PATH = $(objtree)/usr -# If we do an all arch process set dst to asm-$(hdr-arch) +# If we do an all arch process set dst to include/arch-$(hdr-arch) hdr-dst = $(if $(KBUILD_HEADERS), dst=include/arch-$(hdr-arch), dst=include) PHONY += archheaders From patchwork Sun Jul 9 18:32:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 107263 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2541981qge; Sun, 9 Jul 2017 11:38:22 -0700 (PDT) X-Received: by 10.84.229.136 with SMTP id c8mr14515392plk.27.1499625502306; Sun, 09 Jul 2017 11:38:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499625502; cv=none; d=google.com; s=arc-20160816; b=Db7qkx+ICK84kzyN0/7bL4KA8BmOptu8VFR/yQKRlKDWbBznBv2IgAN5GRm91Ocxs5 hh3phYJV0qhH4bjdo1+hFTtPJ/X5AYZiV4OhEIGVHpq/zf+PkZ11cT+93LMiGuPzbn7G Pd7zi2UVOwtTKBP+jdNW9F+A2SMUC6W5QT/DTMLN+dNp3ux0QiOMQWc0RFgto9Iexub0 1GifxCqRZvKHQ1ck1ht4E5ge0a4FzRsFyB3L4AXW1uttQREoFqb7kySQi7nYZmnTr26Y BtRBE5UVyP3eQUvqNasrK0qihBdjrtf24DnGUImVl6Q4QEHSMzpeiJDHmIT7MLfDXI3b kljQ== 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=YQNZ4nlmpwbo4421MryuNLAUpa/uKc4W79iaLGZE/KA=; b=AYqc4jwjHfOVZGJoDvHqrIV3K4FlVrYfDRKcYdncCPJ+4fKZjgCelHFMkf7PQQ6QvO hKFiwf9n8qGQtu9vd+u/zSOR3dHvMJgRQw+0P1OXWmYxDzzzL0RDEkZsy6Dp9MWjKh/o /sD9ZvW+MAvgieMXXBWWFSekd3COJqsX59lMHSNrAHn8ESAC5lAv9EwuUqsmcLY6kXEo gcI4CIIzwSa9DlohqED0eMwmfYKq+swxSQKRQkM3Q3T5/wtRnUlZ0JklqCXXoHtfS7d1 klMbZSHMgy+ZEq6FSQYtl4bjvFzrwAWLVE6N8JuNmuUH5BRNTqxNVEYCXwZG/85+KD8G dMeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.b=ZzWq83Ht; 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 64si2019792pla.387.2017.07.09.11.38.21; Sun, 09 Jul 2017 11:38:22 -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=ZzWq83Ht; 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 S1753305AbdGISh6 (ORCPT + 25 others); Sun, 9 Jul 2017 14:37:58 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:45698 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752554AbdGISdR (ORCPT ); Sun, 9 Jul 2017 14:33:17 -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 v69IX2Cx000353; Mon, 10 Jul 2017 03:33:09 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v69IX2Cx000353 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1499625190; bh=YQNZ4nlmpwbo4421MryuNLAUpa/uKc4W79iaLGZE/KA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZzWq83HtcW33FCqrO89a0FqT/C8/kyN2hFdyZwmQaQjERPeMvX8rvIBasyZ81fSDU IkaIgDRVziXfdR7gWi2yURebQRcteRzGFqyqmuw77ArzwdlCZtRujLjZEw8GQU1O1B YVW0QHhljKfVWmcpxw+3bZfCkj2Jngf4+OvLIR2BxoRp5NRdX22wpUSHGg4LHRfH0p wzUHQk1mk2OzGX/0cocIB4FsF0S2Dr7NFamPl56vv5eVEH9cuDUYFlkq5qkz/nVdZs 9R0uvx/IdvH5psKP8XPYYUQVvwQZnwERb7no/8v7plZK1JM/ZsA786bCeSWtCmB9gz 9V1nzFoR1bBRQ== 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 03/28] kbuild: pass dst= to Makefile.headersinst from top Makefile Date: Mon, 10 Jul 2017 03:32:35 +0900 Message-Id: <1499625180-8067-4-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 We can always pass dst= from the top Makefile. This will simplify the logic in Makefile.headersinst. Signed-off-by: Masahiro Yamada --- Makefile | 4 ++-- scripts/Makefile.headersinst | 8 ++------ 2 files changed, 4 insertions(+), 8 deletions(-) -- 2.7.4 diff --git a/Makefile b/Makefile index ce5875628740..70c414b15859 100644 --- a/Makefile +++ b/Makefile @@ -1154,7 +1154,7 @@ PHONY += headers_install headers_install: __headers $(if $(wildcard $(srctree)/arch/$(hdr-arch)/include/uapi/asm/Kbuild),, \ $(error Headers not exportable for the $(SRCARCH) architecture)) - $(Q)$(MAKE) $(hdr-inst)=include/uapi + $(Q)$(MAKE) $(hdr-inst)=include/uapi dst=include $(Q)$(MAKE) $(hdr-inst)=arch/$(hdr-arch)/include/uapi $(hdr-dst) PHONY += headers_check_all @@ -1163,7 +1163,7 @@ headers_check_all: headers_install_all PHONY += headers_check headers_check: headers_install - $(Q)$(MAKE) $(hdr-inst)=include/uapi HDRCHECK=1 + $(Q)$(MAKE) $(hdr-inst)=include/uapi dst=include HDRCHECK=1 $(Q)$(MAKE) $(hdr-inst)=arch/$(hdr-arch)/include/uapi $(hdr-dst) HDRCHECK=1 # --------------------------------------------------------------------------- diff --git a/scripts/Makefile.headersinst b/scripts/Makefile.headersinst index 4e9287bfdf28..e9147f05ea77 100644 --- a/scripts/Makefile.headersinst +++ b/scripts/Makefile.headersinst @@ -23,15 +23,12 @@ subdirs := $(patsubst $(srcdir)/%/,%,\ $(filter-out $(srcdir)/,\ $(sort $(dir $(wildcard $(srcdir)/*/))))) -# caller may set destination dir (when installing to asm/) -_dst := $(if $(dst),$(dst),$(obj)) - # Recursion __headers: $(subdirs) .PHONY: $(subdirs) $(subdirs): - $(Q)$(MAKE) $(hdr-inst)=$(obj)/$@ dst=$(_dst)/$@ + $(Q)$(MAKE) $(hdr-inst)=$(obj)/$@ dst=$(dst)/$@ # Skip header install/check for include/uapi and arch/$(hdr-arch)/include/uapi. # We have only sub-directories there. @@ -48,8 +45,7 @@ ifneq ($(wildcard $(old-kbuild-file)),) include $(old-kbuild-file) endif -installdir := $(INSTALL_HDR_PATH)/$(subst uapi/,,$(_dst)) - +installdir := $(INSTALL_HDR_PATH)/$(dst) gendir := $(objtree)/$(subst include/,include/generated/,$(obj)) header-files := $(notdir $(wildcard $(srcdir)/*.h)) header-files += $(notdir $(wildcard $(srcdir)/*.agh)) From patchwork Sun Jul 9 18:32:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 107242 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2538972qge; Sun, 9 Jul 2017 11:33:34 -0700 (PDT) X-Received: by 10.101.77.69 with SMTP id j5mr10892105pgt.133.1499625214018; Sun, 09 Jul 2017 11:33:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499625214; cv=none; d=google.com; s=arc-20160816; b=Va1lrybdlQukz+eBTZEex/zFCuLTDOkHKwnf3j4l1GhAiF0/xcwjfqow+yMEV2Q5qS z752+loAoMkdqH78+7LdKMPqJIVyQbexwS8NvqpJa2Gpu2ITFhCdsOGX7rEHNP3fqATb xhLnGcXy/SpOYcJ6uhLLaXwsH1zEPqhijA5V2H/54a5HB7wvsZsnuZ5yGdmRQd85fpIT W3CbfRBAZtYcOXThM82EfCotv39ImpQN0F6F2JkWj0SLC3fPrKRWwXAT27SU7T7uB9aA kjUCRS5rZWMXP79jBmC4O/2Qw9vhF8Ofybi+HeHKNlFrfzorKyJx76VAESlWUInCng5s 1FQA== 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=IcIQvE7my7VjFDF/iAPk7nH/z9NjszH7iwo0JkstMj8=; b=tqBfAJeEvvFXnsPtn282YWB+0HQqmUFtL+lG9WgraVzQATvEFc0IRMZ4ZzQvX54yts jlJVZkjBPVu1llbKrJCj/SI+f/0viXPYvffSpiAdBKtHMzK3biu1oHJTRuC5ScQSgNk5 K35NzaExr8P8TxU3FUL6byEHhljem3qnqGVGDUO/X9ALMnIYAGS8COmReIrxpT9Lmpv8 SKWi6IM0W+LgIaczdOchreNM7jBYhoFrrE7lcsEz+0HQbgizAAhv4043AMbXirtOdHR9 0cv9IWw2K+aCFnIuanC/YgaPmiueyP4h8/+OQv95ehkHpIhFR2aDHqSr7BrQTmlvLaEo TgJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.b=sqATAUJY; 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 z80si6375724pfk.418.2017.07.09.11.33.33; Sun, 09 Jul 2017 11:33:34 -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=sqATAUJY; 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 S1752653AbdGISdW (ORCPT + 25 others); Sun, 9 Jul 2017 14:33:22 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:45696 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752512AbdGISdR (ORCPT ); Sun, 9 Jul 2017 14:33:17 -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 v69IX2D0000353; Mon, 10 Jul 2017 03:33:10 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v69IX2D0000353 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1499625190; bh=IcIQvE7my7VjFDF/iAPk7nH/z9NjszH7iwo0JkstMj8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sqATAUJYAHujpyUGZt7AiXg74jWKm2MyDdoHjGWrl0lYTX3rgfa2LjJD6HgHEa0aa dV2CoflqwV7hpZkAduZFr3ty2/mdAvjAItn4H+gMZaZX2oHzSrUygLhtOrAxu4V4ZQ LSY47QvcZCiGE+glrNw5PpHMPzMN88OwjaRjC16Frrk+c10IQjN4YNxUrQUG/e5CmC jLjnx5+jDLeEoigQf8HTkY56Rwe1AiSPLR/H3LBAyVS2TEPuHqsIXv+hRTRbVy4mtM ahZu1h9rLSe1m4hzUgyncWyCoxLg/F628qzRme/BNzIvhJLMgufOMZ4uaeU/XEwX/5 w4tpmvJGZuHOg== 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 04/28] arm64: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 10 Jul 2017 03:32:36 +0900 Message-Id: <1499625180-8067-5-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. 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 Acked-by: Catalin Marinas --- arch/arm64/include/asm/Kbuild | 17 ----------------- arch/arm64/include/uapi/asm/Kbuild | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 17 deletions(-) -- 2.7.4 diff --git a/arch/arm64/include/asm/Kbuild b/arch/arm64/include/asm/Kbuild index a7a97a608033..f81c7b685fc6 100644 --- a/arch/arm64/include/asm/Kbuild +++ b/arch/arm64/include/asm/Kbuild @@ -6,41 +6,24 @@ generic-y += dma.h generic-y += dma-contiguous.h generic-y += early_ioremap.h generic-y += emergency-restart.h -generic-y += errno.h generic-y += hw_irq.h -generic-y += ioctl.h -generic-y += ioctls.h -generic-y += ipcbuf.h generic-y += irq_regs.h generic-y += kdebug.h generic-y += kmap_types.h -generic-y += kvm_para.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 += msi.h -generic-y += poll.h generic-y += preempt.h -generic-y += resource.h generic-y += rwsem.h generic-y += segment.h -generic-y += sembuf.h generic-y += serial.h generic-y += set_memory.h -generic-y += shmbuf.h generic-y += simd.h generic-y += sizes.h -generic-y += socket.h -generic-y += sockios.h -generic-y += swab.h generic-y += switch_to.h -generic-y += termbits.h -generic-y += termios.h generic-y += trace_clock.h -generic-y += types.h generic-y += unaligned.h generic-y += user.h generic-y += vga.h diff --git a/arch/arm64/include/uapi/asm/Kbuild b/arch/arm64/include/uapi/asm/Kbuild index 13a97aa2285f..fc28bd95c6d3 100644 --- a/arch/arm64/include/uapi/asm/Kbuild +++ b/arch/arm64/include/uapi/asm/Kbuild @@ -1,4 +1,20 @@ # UAPI Header export list include include/uapi/asm-generic/Kbuild.asm +generic-y += errno.h +generic-y += ioctl.h +generic-y += ioctls.h +generic-y += ipcbuf.h generic-y += kvm_para.h +generic-y += mman.h +generic-y += msgbuf.h +generic-y += poll.h +generic-y += resource.h +generic-y += sembuf.h +generic-y += shmbuf.h +generic-y += socket.h +generic-y += sockios.h +generic-y += swab.h +generic-y += termbits.h +generic-y += termios.h +generic-y += types.h From patchwork Sun Jul 9 18:32:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 107267 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2542323qge; Sun, 9 Jul 2017 11:38:55 -0700 (PDT) X-Received: by 10.98.37.3 with SMTP id l3mr42085238pfl.169.1499625534938; Sun, 09 Jul 2017 11:38:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499625534; cv=none; d=google.com; s=arc-20160816; b=hq1Tva/O+kwFVm2gy/l+a4kNXW1kDGtOFZ8p/CkJNJSF9N8ucDpu2JIrZevzhHbx3n p7vJL04/kKNbwbZVxNlbiSkn0IoOwHv2yJFpBNFwatGC7jM+y7dwQTSQBgzDD2aJCWQJ hCtNFd/LjDoiLjAzw8122E5cE1Jlcj91v9BLIopvbFDZNgb7UmNwEhBTb+bp5ZsIcpcp U2jCvg4kfVRCUlJqY21oJcIjFyWdXF1WXm1G0MwuDXB9IWIYDsPnQcpHdmpVoGenwScG xgDLFiR7vQOTUt4DfxqGDfdcymCjLNskoeUyP4g2uroJnnvZjzCfycChCdzR65qVN2qu aMPg== 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=pSjPouRo6kVWErtnCyVtrbrgiPDQuiwmsNabOQf1LOA=; b=RdWMQ+t6hoL8tkuWYzuCLYGzklW9zwg4XfgSu7Ob3wrtEp1UOgrFGMS112mLhUHzig CL4Gxq2inZqQxJJSspRpAe5HXCqM9AP6SG6IAridCJcs5XUtUJi3tyMeKVO6MhGhDHsJ 1JTDcWbOPIxwjL1IjBm7zDCEP4Yk5AFMAN39rNbQYGC6D9IXWw2Lx3op4VoUIE/2qGCb Rhu0QVnx2TRdXxn9CPqYj8WEJ1ylc2Hfddd4rjofFSCXuBRJGjBsekibqtu/JraGEPnM 8nz6xutcvbI0oQh4z83Crjtp3yYXs9Y91q0ROP1I+2cJmsuAaKmiL/44OUbeBXYIbR6R NvgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.b=QFjOVoeD; 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 89si6386378pfp.91.2017.07.09.11.38.54; Sun, 09 Jul 2017 11:38:54 -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=QFjOVoeD; 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 S1753101AbdGISii (ORCPT + 25 others); Sun, 9 Jul 2017 14:38:38 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:45693 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752531AbdGISdR (ORCPT ); Sun, 9 Jul 2017 14:33:17 -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 v69IX2D1000353; Mon, 10 Jul 2017 03:33:10 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v69IX2D1000353 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1499625191; bh=pSjPouRo6kVWErtnCyVtrbrgiPDQuiwmsNabOQf1LOA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QFjOVoeD63zzU/XUb/ADqlthZWyiecPbUdvrztADJkBTwBiEcG2teX0zQCKjRSCHu fBZzaLGimpuvDeg6JJY08+3O3tYuYsST0OCWwNJw3Arwa2MCkLoi9wQK+v5QLAXWky wNxrpWlU6PcgJS9WrTD+OA9Ku2BPGtU9YPoJzkwHdnmzCrF9ZRlvuQCh67jAGwkWzo bbIT1Z8EiTpEqnSz/2918sNql4w6/X57SNSUHQoP2FMnz2esaZgxNvJEgRDpngIL05 n/sl16pv4KzMFEyfyBkw2/Bo5EUzq/KxtTWgRtgTuqa59T/nleZEDLR75eRfs8MODr Cq0xDgQ9JnBQQ== 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 05/28] ARM: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 10 Jul 2017 03:32:37 +0900 Message-Id: <1499625180-8067-6-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. Signed-off-by: Masahiro Yamada --- arch/arm/include/asm/Kbuild | 16 ---------------- arch/arm/include/uapi/asm/Kbuild | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 16 deletions(-) -- 2.7.4 diff --git a/arch/arm/include/asm/Kbuild b/arch/arm/include/asm/Kbuild index d8360501c082..721ab5ecfb9b 100644 --- a/arch/arm/include/asm/Kbuild +++ b/arch/arm/include/asm/Kbuild @@ -1,39 +1,23 @@ - - -generic-y += bitsperlong.h generic-y += clkdev.h generic-y += current.h generic-y += early_ioremap.h generic-y += emergency-restart.h -generic-y += errno.h generic-y += exec.h generic-y += extable.h -generic-y += ioctl.h -generic-y += ipcbuf.h generic-y += irq_regs.h generic-y += kdebug.h generic-y += local.h generic-y += local64.h generic-y += mm-arch-hooks.h -generic-y += msgbuf.h generic-y += msi.h -generic-y += param.h generic-y += parport.h -generic-y += poll.h generic-y += preempt.h -generic-y += resource.h generic-y += rwsem.h generic-y += seccomp.h generic-y += segment.h -generic-y += sembuf.h generic-y += serial.h -generic-y += shmbuf.h generic-y += simd.h generic-y += sizes.h -generic-y += socket.h -generic-y += sockios.h -generic-y += termbits.h -generic-y += termios.h generic-y += timex.h generic-y += trace_clock.h generic-y += unaligned.h diff --git a/arch/arm/include/uapi/asm/Kbuild b/arch/arm/include/uapi/asm/Kbuild index 5fb3368e70cb..8e17fe80b55b 100644 --- a/arch/arm/include/uapi/asm/Kbuild +++ b/arch/arm/include/uapi/asm/Kbuild @@ -5,4 +5,18 @@ generated-y += unistd-common.h generated-y += unistd-oabi.h generated-y += unistd-eabi.h +generic-y += bitsperlong.h +generic-y += errno.h +generic-y += ioctl.h +generic-y += ipcbuf.h +generic-y += msgbuf.h +generic-y += param.h +generic-y += poll.h +generic-y += resource.h +generic-y += sembuf.h +generic-y += shmbuf.h generic-y += siginfo.h +generic-y += socket.h +generic-y += sockios.h +generic-y += termbits.h +generic-y += termios.h From patchwork Sun Jul 9 18:32:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 107266 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2542318qge; Sun, 9 Jul 2017 11:38:54 -0700 (PDT) X-Received: by 10.101.86.68 with SMTP id m4mr11360893pgs.46.1499625534598; Sun, 09 Jul 2017 11:38:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499625534; cv=none; d=google.com; s=arc-20160816; b=uXNNcEfweZsr8r0Wqkm7bhQxtz0B+w+/1Hy6UG9RjO/9Zyhrystn3a4UUSndPw3tjn 63+fGYuIpvu4m7/FHRrGgE9+U+jPT4ZaYvumgHsYeABah/UY5VkyB/83Uf57F4KGi+/S Z/vlsRD+w6YKDZOO/yYm5DS6T6iJR8cxF/OaUpMRFoMxjYMdkaA8ydVIqm2bbbusrzw3 3IKppyvbRcrGZPKH0FZht6f3XeQ7bB5f0Cj6wq+uPgtK3fg6CUP+JAMyQLZih6+sVdBs +Cgo+lveWoPOX93flfICdt5lijozgo76cNs4KUS/NBHDPbYKOWM7/MxRGgCode+l9R79 3CXQ== 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=Xt0CjENOMDf9vqy76Q+Kon3h/WzFDyUIoE8dSbFX82E=; b=ZcJC7qiSGiNS1W7enyTjHKCABqUn2znMXh2dg1GU6MuBCCycvtZkqgS4Z1dYjkrUD/ 76h+nzBhXS3A6q6MPzzuRz2AVI/nCZFEMuAk3Wk3n/cNfXXgS9zVtUDOJjQu7rP/s2bo dM9+jv+kZZOVsO3q7E7ZBlfuRu7DNCSFBMtSJ0Lliif9TPNudm0RFHFBoO5ZWTIrTIiq c3fbT4ymyQmY6/v89zfmmaqAX0EywTahuzi6EHFNKuMWJViqXH9tSUE9CwOasuz5NXJg f7RaIlsUv3yXVTT3xS0x3008wa41mF+mHrBEVM1q+ZgMlFq07umSIrYg7AQtgYrzfIRo mZJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.b=RQig0CKq; 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 89si6386378pfp.91.2017.07.09.11.38.54; Sun, 09 Jul 2017 11:38:54 -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=RQig0CKq; 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 S1752718AbdGISig (ORCPT + 25 others); Sun, 9 Jul 2017 14:38:36 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:45700 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752533AbdGISdR (ORCPT ); Sun, 9 Jul 2017 14:33:17 -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 v69IX2D2000353; Mon, 10 Jul 2017 03:33:11 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v69IX2D2000353 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1499625191; bh=Xt0CjENOMDf9vqy76Q+Kon3h/WzFDyUIoE8dSbFX82E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RQig0CKqlXD8mRgHcNyERmPBAjrtq28mP8wNxnAmsGqsJul27PbzacQ7rWN9V2wm0 bbpk+PJ9S/9uIj2XZkImuE8hU1uauut5ocPk8T6DXEl9CGC5Gio2YSvbQL2IQ6lxJY XBzlWOsL8Iwpdvw0D+ClB822nnLEw8wK39myPnaR5e23A9JpLQNWHWHC1vtOAEo5RQ WdoWxxZxEuTY6/T76Sq2nNgb+BGtJvDa+kZzq8dlHSt+U8EHEb5KUVOajDVG8jc0jE 5IAPp+QqgRiSqM3jspNZF/v3ZaKv5QqJncUrhNENLhvB5ZWhDBmVZ+nwuJbM36vzTW DOYEVHoKaAGkg== 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 06/28] arc: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 10 Jul 2017 03:32:38 +0900 Message-Id: <1499625180-8067-7-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. Signed-off-by: Masahiro Yamada --- arch/arc/include/asm/Kbuild | 24 ------------------------ arch/arc/include/uapi/asm/Kbuild | 24 ++++++++++++++++++++++++ 2 files changed, 24 insertions(+), 24 deletions(-) -- 2.7.4 diff --git a/arch/arc/include/asm/Kbuild b/arch/arc/include/asm/Kbuild index 3e74ca5e6402..353dae386b2f 100644 --- a/arch/arc/include/asm/Kbuild +++ b/arch/arc/include/asm/Kbuild @@ -1,51 +1,27 @@ -generic-y += auxvec.h -generic-y += bitsperlong.h generic-y += bugs.h generic-y += clkdev.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 += ipcbuf.h generic-y += irq_regs.h generic-y += irq_work.h generic-y += kmap_types.h -generic-y += kvm_para.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 += msi.h -generic-y += param.h generic-y += parport.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 += sembuf.h -generic-y += shmbuf.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 += user.h generic-y += vga.h generic-y += word-at-a-time.h diff --git a/arch/arc/include/uapi/asm/Kbuild b/arch/arc/include/uapi/asm/Kbuild index b55fc2ae1e8c..fa6d0ff4ff89 100644 --- a/arch/arc/include/uapi/asm/Kbuild +++ b/arch/arc/include/uapi/asm/Kbuild @@ -1,4 +1,28 @@ # UAPI Header export list include include/uapi/asm-generic/Kbuild.asm +generic-y += auxvec.h +generic-y += bitsperlong.h +generic-y += errno.h +generic-y += fcntl.h +generic-y += ioctl.h +generic-y += ioctls.h +generic-y += ipcbuf.h +generic-y += kvm_para.h +generic-y += mman.h +generic-y += msgbuf.h +generic-y += param.h +generic-y += poll.h +generic-y += posix_types.h +generic-y += resource.h +generic-y += sembuf.h +generic-y += shmbuf.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 From patchwork Sun Jul 9 18:32:39 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 107268 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2542866qge; Sun, 9 Jul 2017 11:39:47 -0700 (PDT) X-Received: by 10.99.123.74 with SMTP id k10mr10941345pgn.226.1499625587319; Sun, 09 Jul 2017 11:39:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499625587; cv=none; d=google.com; s=arc-20160816; b=Y+bSRbalnMLjArPXaBLb0352z9zSpMVHpIqC18DKFKAy64JZuOMQ49gzrKA93/gYAg 58Rjd7ZpPWdTPRLDDZLofoLX+Zmpw0/80kQOiEOzWbd3gdEgij1tqc/vApGzFAHw//c5 f88CjMyV4Ae9OtEMOnMND0A9aYKX3dR9/VnIjc+5lExgXZ7ebuzbAiJZXm8Tkwu/TFN+ NVYHHzx1J86v6P/AoPdetL7U0vIoLbhXUnPFoP3V4EhR2+q11FutYuU5+51fioBuwi1m berRT4eVGn/aUT7HNRMe9YBhO+15wqmtHcm3Gpl7G0q2BC7OOmpmtGwpyXv5ITd6Wctz MVVg== 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=bCxxRL2kBYYPPktEAm/q6xqhoNMF7jK/rzigCn5gJ+o=; b=d0/iLZpuxz12DphbPLygPvxNFkbVKw4J6FXiMG+PTBvnKjdW4jHc3vAlkJsOKUfOYK to9TOwDcjgBRR/QaR4SGmH7S/h7zti3fo6BCMqR8Ig1E7s//t+q088RwD29vH7IqnEM3 WAbqmddZGUWgvJN/trX82xUTPK1rR/UZvX8JstgQe0mw2sAjtryyv0bIgpVLHfs2ZZK6 Cl5cTXuTnsfSc+G+O9v1co9Lb7oA2CSsjRFdRLjIiMF+c5oX+pqfaZQcrxCg2v6ePopD kgXARP/4rgoiBPpSKOIEFdux/DdyYrRqleRUB3P8JhaPj+rUnHt10uoXp99iWd7mbugB 6P5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.b=G1vE28M1; 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 c66si6322934pfc.226.2017.07.09.11.39.46; Sun, 09 Jul 2017 11:39:47 -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=G1vE28M1; 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 S1753325AbdGISjH (ORCPT + 25 others); Sun, 9 Jul 2017 14:39:07 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:45697 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752528AbdGISdR (ORCPT ); Sun, 9 Jul 2017 14:33:17 -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 v69IX2D3000353; Mon, 10 Jul 2017 03:33:11 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v69IX2D3000353 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1499625192; bh=bCxxRL2kBYYPPktEAm/q6xqhoNMF7jK/rzigCn5gJ+o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=G1vE28M1ejdnhJCtC8HtFjaLDeXLAc603Qje53BtlSB+9uEVCUPukPTlPWV8EmJAy C+8tRIR+VE307w+aS6yt7wBkVtpp94Kq+5buLa4NgohuSj2omM531WXQRcfFOjb1YE rO/lTyuQDwms5YKH6cQKKWEjF2v46e9huTezBS2vSO4X9LzIwiOUx/23sYIEaQ9UTC UnV4KuwneYcGW7wslfoRXIJrLtUGRkHte/wr7R+9m217+1BCxPcieqlqN1JVRwcS9Y JMKkSCfJqndGdZFS8hD439pSEiP39RH1/z+4y0nFgQaNZqeoSGf80MFEyRk2gVRPsX 4DmiWB5VXe3sg== 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 07/28] blackfin: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 10 Jul 2017 03:32:39 +0900 Message-Id: <1499625180-8067-8-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/blackfin/include/asm/Kbuild | 24 +----------------------- arch/blackfin/include/uapi/asm/Kbuild | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 23 deletions(-) -- 2.7.4 diff --git a/arch/blackfin/include/asm/Kbuild b/arch/blackfin/include/asm/Kbuild index dc4ef9ac1e83..fe736973630f 100644 --- a/arch/blackfin/include/asm/Kbuild +++ b/arch/blackfin/include/asm/Kbuild @@ -1,50 +1,28 @@ - -generic-y += auxvec.h -generic-y += bitsperlong.h generic-y += bugs.h 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 += futex.h generic-y += hw_irq.h -generic-y += ioctl.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 += kvm_para.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 += param.h generic-y += percpu.h generic-y += pgalloc.h generic-y += preempt.h -generic-y += resource.h -generic-y += sembuf.h generic-y += serial.h -generic-y += setup.h -generic-y += shmbuf.h -generic-y += shmparam.h -generic-y += socket.h -generic-y += sockios.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 += user.h generic-y += word-at-a-time.h generic-y += xor.h -generic-y += kprobes.h diff --git a/arch/blackfin/include/uapi/asm/Kbuild b/arch/blackfin/include/uapi/asm/Kbuild index b15bf6bc0e94..aa624b4ab655 100644 --- a/arch/blackfin/include/uapi/asm/Kbuild +++ b/arch/blackfin/include/uapi/asm/Kbuild @@ -1,2 +1,24 @@ # UAPI Header export list include include/uapi/asm-generic/Kbuild.asm + +generic-y += auxvec.h +generic-y += bitsperlong.h +generic-y += errno.h +generic-y += ioctl.h +generic-y += ipcbuf.h +generic-y += kvm_para.h +generic-y += mman.h +generic-y += msgbuf.h +generic-y += param.h +generic-y += resource.h +generic-y += sembuf.h +generic-y += setup.h +generic-y += shmbuf.h +generic-y += shmparam.h +generic-y += socket.h +generic-y += sockios.h +generic-y += statfs.h +generic-y += termbits.h +generic-y += termios.h +generic-y += types.h +generic-y += ucontext.h From patchwork Sun Jul 9 18:32:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 107259 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2541152qge; Sun, 9 Jul 2017 11:37:02 -0700 (PDT) X-Received: by 10.99.125.20 with SMTP id y20mr11148929pgc.259.1499625422125; Sun, 09 Jul 2017 11:37:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499625422; cv=none; d=google.com; s=arc-20160816; b=yA7CuCWfR47TMcPEvEdrKD0Lf/Qas1sudIuWknNURbCMrtGNesEcU045q76GotWPnT 85LtypaoT/BN7ic4RLB74P7ufnVbQvrBQ+MpOQmd6vqq2LFcbn0bFYJ9ANlzGov9A6qi Gy6dVkaKjY3C/s5dJzePzW08j++MzQB//Rkbse3klbolhRwf3G9XQS9kOGKwlWPVKdfL Z1VURfRiKMM4h0xdX5GXKfah/fzOn2RhLdXhM5lb79EgYeVTvdsju8iuIGsvhKpbCwEV 1SHP0qLEn1dBMvTxzl6NW67crIw6P9zTALgHOC8RrhsKeJnMI519ipRy8loyQ7tno1Ot rgQw== 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=PmgGA4uKpndJdmhVz82p83ks9e4zH7Dy3QT11NEocds=; b=Jujjk1cMQgVRkW8hq5H5PMhuEGOaPctzpGN6HtA9qSbwJ5TDTKs0UxQN/x5tvkp6zu T1G9t7Wyl2XTL8hDCOviSbTvjVpAOT0/vfeRfBfP2cbe81SdadRwXOFLRrWE6Y3G7oqY 8ZK9++0N43A9AwlMGBS/pmvm9aqNfd8E/DUpBoXWwEgNCxgkaZt2o4VmnHxR67oKnESQ F3AkeG3UvuXtMN/uxamk1LkLUucAgwjpQ+4t58rmoCmNxUvLCnLvfo13DVYwkybnooFc gA7fkVzSL7KcHxSH9YuATnssU9Ntp2gIzWveLRLQTKkcvfvywNBCITWdgCYyrdSRHQsy EKtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.b=cZHJVETG; 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 v24si6403152pfl.202.2017.07.09.11.37.01; Sun, 09 Jul 2017 11:37:02 -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=cZHJVETG; 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 S1753209AbdGISg7 (ORCPT + 25 others); Sun, 9 Jul 2017 14:36:59 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:45737 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752568AbdGISdT (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 v69IX2D4000353; Mon, 10 Jul 2017 03:33:12 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v69IX2D4000353 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1499625192; bh=PmgGA4uKpndJdmhVz82p83ks9e4zH7Dy3QT11NEocds=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cZHJVETGqHk6jp3zswo2QSK2wcsasoOwDw3myjsBx+cmCPdvgHo5utBMEbzztrJvo VAhp90rPYNpyiMbxmGZh5t5dZqACCZgFkdbkTX15JYFx+G0qtS92vUB9eg4j3A64XB nhrKdY5fHrA+AMeBfF0BNgTvB/Lut3kAaplyF8PpJ2Ctt8psn+kQfg4LnnjAoHAaAt RLgkk4fPbhvMU8UIq5e2LVvnwySwqoJ429ZoS4uiy0w0VNyJFRf1XCm6sq8LlmItrR P7YgE6h5OrdXcx31zx4JSIHT8ma0OH1TCOl0tZko4n1qucgZTf56aa2t8hOo+qI1xV zHLtNvxCI7BqQ== 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 08/28] c6x: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 10 Jul 2017 03:32:40 +0900 Message-Id: <1499625180-8067-9-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/c6x/include/asm/Kbuild | 28 +--------------------------- arch/c6x/include/uapi/asm/Kbuild | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 27 deletions(-) -- 2.7.4 diff --git a/arch/c6x/include/asm/Kbuild b/arch/c6x/include/asm/Kbuild index a3c8d05c4cc7..d717329c8cf9 100644 --- a/arch/c6x/include/asm/Kbuild +++ b/arch/c6x/include/asm/Kbuild @@ -1,8 +1,5 @@ - generic-y += atomic.h -generic-y += auxvec.h generic-y += barrier.h -generic-y += bitsperlong.h generic-y += bugs.h generic-y += clkdev.h generic-y += current.h @@ -10,55 +7,32 @@ generic-y += device.h generic-y += div64.h generic-y += dma.h generic-y += emergency-restart.h -generic-y += errno.h generic-y += exec.h generic-y += extable.h generic-y += fb.h -generic-y += fcntl.h generic-y += futex.h generic-y += hw_irq.h generic-y += io.h -generic-y += ioctl.h -generic-y += ioctls.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 += mcs_spinlock.h generic-y += mm-arch-hooks.h -generic-y += mman.h generic-y += mmu.h generic-y += mmu_context.h -generic-y += msgbuf.h -generic-y += param.h generic-y += pci.h generic-y += percpu.h generic-y += pgalloc.h -generic-y += poll.h -generic-y += posix_types.h generic-y += preempt.h -generic-y += resource.h generic-y += segment.h -generic-y += sembuf.h generic-y += serial.h -generic-y += shmbuf.h -generic-y += shmparam.h -generic-y += signal.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 += tlbflush.h generic-y += topology.h generic-y += trace_clock.h -generic-y += types.h -generic-y += ucontext.h generic-y += user.h generic-y += vga.h generic-y += word-at-a-time.h generic-y += xor.h -generic-y += kprobes.h diff --git a/arch/c6x/include/uapi/asm/Kbuild b/arch/c6x/include/uapi/asm/Kbuild index 1c44d3b3eba0..67ee896a76a7 100644 --- a/arch/c6x/include/uapi/asm/Kbuild +++ b/arch/c6x/include/uapi/asm/Kbuild @@ -1,5 +1,30 @@ # UAPI Header export list include include/uapi/asm-generic/Kbuild.asm +generic-y += auxvec.h +generic-y += bitsperlong.h +generic-y += errno.h +generic-y += fcntl.h +generic-y += ioctl.h +generic-y += ioctls.h +generic-y += ipcbuf.h generic-y += kvm_para.h +generic-y += mman.h +generic-y += msgbuf.h +generic-y += param.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 += signal.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 From patchwork Sun Jul 9 18:32:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 107264 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2541987qge; Sun, 9 Jul 2017 11:38:22 -0700 (PDT) X-Received: by 10.98.198.208 with SMTP id x77mr42081585pfk.229.1499625502654; Sun, 09 Jul 2017 11:38:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499625502; cv=none; d=google.com; s=arc-20160816; b=xPAQWMXKvDQ2kxngX5rUE/CF20oe15xO1LtdUNQ+srONu9BpkoU3E0E0Qt+4wCQxVn q8lv7WVtpC7DhHtjATh7mlVJhqGrWkEaq06htjLN4O65Y+ZRA2c+4VssBWBBpr1BXKBZ IBXm1n+bOTZiTHoOTa+fP+BnS6w/S2sS/Z2XdOCUfmKz8W7wq+nBaC3N7/oIVFqyI3vG tKk5QjtM2x73Cv/09T9maSD8P2GTfx3Yl5AD6aFS9ww3XHHn2qxEl8F9abIsBSvRiHw1 bWyFgnwchG/ADIUEBIYx3t9uysTb0k/BbNC+7eOkA/9WBytYttaqnpTVF9gkgA6Mn+Th GaqQ== 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=C/8nKdtUTOLipuxn1NFR81e5FqyxTCVIAYBQBGE5UR0=; b=Ct3Oayuw64WMbd//dWm4XoxuI8UYZLlO8tY4QboGkqD0WIywoMn0xLfNH7IsJTKohB O5Gf/tKVCcVeAKHyy99KwIjT2c1aDZAn422S19Jtifww5tXKhkjaVmNnrcuoG5LOmaV0 DyBmQchcis80p14jXglVemE85owR9rT6mpK5pjQ6QNkW3fsUuzCYdIpylfCwXNP70qUU hcdXGG+z7DNpR6X0Q6WOIER4UgGxPLAh5tV3qVJC4/lxTsB+hS34yGLpQICEMmz28WRP Xp6ofpScG1Cvqx3m1nISEybc4x6YV9Z1oKjoIzk93sjwtA+d5TtACFQYbP0jWBzCnMTe /prA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.b=qQyCgaSt; 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 64si2019792pla.387.2017.07.09.11.38.22; Sun, 09 Jul 2017 11:38:22 -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=qQyCgaSt; 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 S1753291AbdGISh5 (ORCPT + 25 others); Sun, 9 Jul 2017 14:37:57 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:45701 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752547AbdGISdR (ORCPT ); Sun, 9 Jul 2017 14:33:17 -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 v69IX2D5000353; Mon, 10 Jul 2017 03:33:12 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v69IX2D5000353 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1499625193; bh=C/8nKdtUTOLipuxn1NFR81e5FqyxTCVIAYBQBGE5UR0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qQyCgaStj5J2uBmH4+zwaMIS+N5oRIiEttenH0LJs85Hvf9Me8AFxU30j/FwCxUHW 3SpIiUq3j1424yLorSXo9ATKBZ68WPMo9Nfn3BhWTp5hSsPj8/BfICVDA6TJfflFFG krTZZnLnsA5QUl64uALs2K0JuhzlFpOH/ieihTVaY6F92g004hlEf+KL4X8pSUoioa PrZYC+V5sl7SmwfkpPE3f3/Ko662rCVgS3sEbWliaSqkzKS5Pp6O8dYIaePJCZVyCU CzcwyxZsiijv1O56S+P4xpS5Hm8pxp0z267ev6GdWcC+ZA/3yoQIcStj/9qpCNpzJV vfYbtfn5L5h3g== 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 09/28] cris: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 10 Jul 2017 03:32:41 +0900 Message-Id: <1499625180-8067-10-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", "generic-y += emergency-restart.h" up in order to keep the entries sorted. Signed-off-by: Masahiro Yamada --- arch/cris/include/asm/Kbuild | 21 ++------------------- arch/cris/include/uapi/asm/Kbuild | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 19 deletions(-) -- 2.7.4 diff --git a/arch/cris/include/asm/Kbuild b/arch/cris/include/asm/Kbuild index acc5781100c2..460349cb147f 100644 --- a/arch/cris/include/asm/Kbuild +++ b/arch/cris/include/asm/Kbuild @@ -1,48 +1,31 @@ generic-y += atomic.h -generic-y += auxvec.h generic-y += barrier.h -generic-y += bitsperlong.h generic-y += clkdev.h generic-y += cmpxchg.h generic-y += current.h generic-y += device.h generic-y += div64.h -generic-y += errno.h +generic-y += emergency-restart.h generic-y += exec.h generic-y += extable.h -generic-y += emergency-restart.h -generic-y += fcntl.h generic-y += futex.h generic-y += hardirq.h -generic-y += ioctl.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 += kvm_para.h +generic-y += kprobes.h generic-y += linkage.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 += module.h -generic-y += msgbuf.h generic-y += percpu.h -generic-y += poll.h generic-y += preempt.h -generic-y += resource.h generic-y += sections.h -generic-y += sembuf.h -generic-y += shmbuf.h -generic-y += socket.h -generic-y += sockios.h -generic-y += statfs.h generic-y += topology.h generic-y += trace_clock.h -generic-y += types.h generic-y += vga.h generic-y += word-at-a-time.h generic-y += xor.h -generic-y += kprobes.h diff --git a/arch/cris/include/uapi/asm/Kbuild b/arch/cris/include/uapi/asm/Kbuild index b55fc2ae1e8c..3687b54bb18e 100644 --- a/arch/cris/include/uapi/asm/Kbuild +++ b/arch/cris/include/uapi/asm/Kbuild @@ -1,4 +1,21 @@ # UAPI Header export list include include/uapi/asm-generic/Kbuild.asm +generic-y += auxvec.h +generic-y += bitsperlong.h +generic-y += errno.h +generic-y += fcntl.h +generic-y += ioctl.h +generic-y += ipcbuf.h +generic-y += kvm_para.h +generic-y += mman.h +generic-y += msgbuf.h +generic-y += poll.h +generic-y += resource.h +generic-y += sembuf.h +generic-y += shmbuf.h generic-y += siginfo.h +generic-y += socket.h +generic-y += sockios.h +generic-y += statfs.h +generic-y += types.h From patchwork Sun Jul 9 18:32:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 107260 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2541431qge; Sun, 9 Jul 2017 11:37:27 -0700 (PDT) X-Received: by 10.98.4.5 with SMTP id 5mr26828520pfe.189.1499625447658; Sun, 09 Jul 2017 11:37:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499625447; cv=none; d=google.com; s=arc-20160816; b=J/2KhYaspqb0rV2H5GSFLwaqsk/bOW07lQJI3s9iJN09te/127sc0q7vt6a2Wu7Vx6 qkvQgZShage0IEQYn/d4vP5/R1o3VIRnLopxzhttamXs/aeC5Ls9RR8O6KDR53sSs9o4 Ds9CVGNNeLyoziXKAExzDXaA9rgq8p9D0UXyO6mSGmAv3k3Y4GYCGAb4kvsD+bQUq8ZX b+7pSZObrndYA1AnGnnU3pKUpLUyZtEvBkvHQ2X21oHZYAMPrFpr2sxBUqvkeUXbv8MN e6HcEzhsDxtMs/xNniLa4vxMPL57QyLn3TKAzdaIJSAftZwnTvd6tqrxOD+P/dk8uOGU 1cAQ== 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=Sj3Xuz9wog1pVkH5C9/lamin18B9ymWowhhNpeAxR0w=; b=O0Ewyx1ld8VfOyu1kNViqWyMiuwDxC3Afsa1EqH4lUFL+SY2QE/55Q1Csg9axYn4MI LnLXuRmjqioU5ZZDikWtNautYVEXoMl2X9HREDWXP6NBt897ofqZxZhZ2UcNRrY4NoYz 4Hh2otKVAPM7wn7IyXef1e5bWb9q/JUJ0GGlt/8JTr7tjbjPdEdfzB18OuvnzRh4DOym YKGQdPLgkMp6Wy6sQHjUQUCGGycCtbNHfFyK4R446kKR74kZbYhCS48wCGccL9Yl6wB1 8VtBq4XjQ0kJqxuzh4TbAcCRLU44+kBAWwXhEN2jycIN/j6i3QqDV3s3FaoxUUs+URXm rR6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.b=QdnmP+ls; 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.27; Sun, 09 Jul 2017 11:37:27 -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=QdnmP+ls; 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 S1753286AbdGIShB (ORCPT + 25 others); Sun, 9 Jul 2017 14:37:01 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:45736 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752566AbdGISdT (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 v69IX2D6000353; Mon, 10 Jul 2017 03:33:13 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v69IX2D6000353 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1499625193; bh=Sj3Xuz9wog1pVkH5C9/lamin18B9ymWowhhNpeAxR0w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QdnmP+lsDYeQpks9QUqBqzf4DF55xiefBr6wCTXkuCZxZSTIww6G8yapXHYNDqPnN WudRyxm9LbN/RwJBxkFzJx/6cSoBtCf7QkQ96xr54Ab3FPG73hAUqRGfweva9peYCq TxwI/CQ3fRHi0y/h+V2+h3VAbhKGuqveumMutFuNGD3G0796tITX/vyQmKFevsSWnf XmINY+gFV+1zmYTjJ7j17SvmpIl5CTDBksSnL+KqCZ8ipaa3ihtbSi1XGqpJQWzZ0p uVR2d+QT1pwccBVM4YaW5zEcL5d2DeOSkFZvvZiZSW6luZXh4b8D2oCDc6JsL/WJ/b J16ss0+qv+5hg== 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 10/28] h8300: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 10 Jul 2017 03:32:42 +0900 Message-Id: <1499625180-8067-11-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" and "generic-y += trace_clock.h" in order to keep the entries sorted. Signed-off-by: Masahiro Yamada --- arch/h8300/include/asm/Kbuild | 30 ++---------------------------- arch/h8300/include/uapi/asm/Kbuild | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 28 deletions(-) -- 2.7.4 diff --git a/arch/h8300/include/asm/Kbuild b/arch/h8300/include/asm/Kbuild index 99c824608a31..bc077491d299 100644 --- a/arch/h8300/include/asm/Kbuild +++ b/arch/h8300/include/asm/Kbuild @@ -1,5 +1,4 @@ generic-y += asm-offsets.h -generic-y += auxvec.h generic-y += barrier.h generic-y += bugs.h generic-y += cacheflush.h @@ -11,66 +10,41 @@ generic-y += device.h generic-y += div64.h generic-y += dma.h generic-y += emergency-restart.h -generic-y += errno.h generic-y += exec.h generic-y += extable.h generic-y += fb.h -generic-y += fcntl.h generic-y += ftrace.h generic-y += futex.h generic-y += hardirq.h generic-y += hash.h generic-y += hw_irq.h -generic-y += ioctl.h -generic-y += ioctls.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 += kvm_para.h +generic-y += kprobes.h generic-y += linkage.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 += mmu.h generic-y += mmu_context.h generic-y += module.h -generic-y += msgbuf.h -generic-y += param.h generic-y += parport.h generic-y += percpu.h generic-y += pgalloc.h -generic-y += poll.h -generic-y += posix_types.h generic-y += preempt.h -generic-y += resource.h generic-y += scatterlist.h generic-y += sections.h -generic-y += sembuf.h generic-y += serial.h -generic-y += setup.h -generic-y += shmbuf.h -generic-y += shmparam.h generic-y += sizes.h -generic-y += socket.h -generic-y += sockios.h generic-y += spinlock.h -generic-y += stat.h -generic-y += statfs.h -generic-y += swab.h -generic-y += termbits.h -generic-y += termios.h generic-y += timex.h generic-y += tlbflush.h -generic-y += trace_clock.h generic-y += topology.h -generic-y += types.h -generic-y += ucontext.h +generic-y += trace_clock.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/h8300/include/uapi/asm/Kbuild b/arch/h8300/include/uapi/asm/Kbuild index b55fc2ae1e8c..187aed820e71 100644 --- a/arch/h8300/include/uapi/asm/Kbuild +++ b/arch/h8300/include/uapi/asm/Kbuild @@ -1,4 +1,30 @@ # 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 += kvm_para.h +generic-y += mman.h +generic-y += msgbuf.h +generic-y += param.h +generic-y += poll.h +generic-y += posix_types.h +generic-y += resource.h +generic-y += sembuf.h +generic-y += setup.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 += swab.h +generic-y += termbits.h +generic-y += termios.h +generic-y += types.h +generic-y += ucontext.h 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 From patchwork Sun Jul 9 18:32:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 107269 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2542872qge; Sun, 9 Jul 2017 11:39:47 -0700 (PDT) X-Received: by 10.84.130.108 with SMTP id 99mr13829924plc.76.1499625587675; Sun, 09 Jul 2017 11:39:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499625587; cv=none; d=google.com; s=arc-20160816; b=1HJ7kpsadZLh8dMpBwv6p30x3W6qXgWBqFjQpG6k9Dt28D2qGxMC7SAqH3zgIanZj5 mkx8WIbAFp9UHvJinfyUbtnqgTaCr1UDyR7Yw90GNlsRKLkqiX/u3+PdL9oVLyfytuiM Ae84hVA886GMUiaTQS57drlIzhT4u1hdY+As+XolULqQQZh//vDLZdjSPO9NtFY3uS4z 2WYZy5wvMC9j1Iano1feq5k7e36F/quchZ1il9u6Lzqq2wx2prqc7rOXwRS6FrLqr3OV xCYUuY63X9Me8gIX4TUgHT/uy0RpmorwnVaTf0iEuchlKYNlNd6HP4VCmMrRNPXeMZho oiQQ== 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=BTqz7TzViEG0mg9BVJp/Wzp4A7JHz9d0qOSJWTLVqhU=; b=r21mV1MxpumQcNWYQ+ZjfW8F7quXw2Fj6iguR+EoIRL15Ub+x4ReYcNyfQoKezKu6p ozaOs8+qN1xySJMf0FxpkEul9kKqHbR4VwE72UksoyvZWtXq22raAvDopU2eeu/LTNb6 4Owy6ndvpxMYZiJn0U3/C0An78sVoc9cNWTv7B6VVuVZsej8XqOMZLJVStVGkfnxd2QN pyJsGGe0/GPjWL5et5RY6vd0MTqNM5JbDlGvDsodo+TZ6+r3BK0mR5J1F4USQSywE3uT 5N5SGXkSRE4Qku9iTTLWqhFd5DyXtskpCyQvglIh8dmy9chqfpRvlUO6MWspDBhsTUPV 2M1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.b=FudJNOXD; 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 c66si6322934pfc.226.2017.07.09.11.39.47; Sun, 09 Jul 2017 11:39:47 -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=FudJNOXD; 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 S1753273AbdGISjF (ORCPT + 25 others); Sun, 9 Jul 2017 14:39:05 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:45694 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752523AbdGISdR (ORCPT ); Sun, 9 Jul 2017 14:33:17 -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 v69IX2D8000353; Mon, 10 Jul 2017 03:33:14 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v69IX2D8000353 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1499625194; bh=BTqz7TzViEG0mg9BVJp/Wzp4A7JHz9d0qOSJWTLVqhU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FudJNOXDOuE1CFLKIEpYToGRO0ZbXPRoGFZk/MYGRX86crKKPNZuIl24AXb9c2gS4 zZ5AjZhq9cqkwiV9d1bRoHP1tg+lQi9+OU6vwceaEscxCkAI3SFGiG6sZ8fu8o7yvU s+FbpW7hQ6XF+kzQtNxGJGg+ddhgWFsTS7vwqIvvEl7bQ1qewKONRtZjdzBL8Fr1rp ssnmPYYPhTZsNxiClbEoZrqmUweuiVUhO56OdkuNCxWZo++IIZkJIzpvawqFKuV0Po ibFqocCI23A9/FGXqtPb4LHyCmNPRjy17ToSXYoLmByqt1vK/3mBnv71cVYSl3OOKJ hZPJ8xtxLqeJQ== 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 12/28] ia64: remove redundant generic-y += kvm_para.h from asm/Kbuild Date: Mon, 10 Jul 2017 03:32:44 +0900 Message-Id: <1499625180-8067-13-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 "generic-y += kvm_para.h" is doubled in asm/Kbuild and uapi/asm/Kbuild. The one in the former should be simply removed because kvm_para.h is exported. Signed-off-by: Masahiro Yamada --- arch/ia64/include/asm/Kbuild | 2 -- 1 file changed, 2 deletions(-) -- 2.7.4 diff --git a/arch/ia64/include/asm/Kbuild b/arch/ia64/include/asm/Kbuild index 502a91d8dbbd..1d7641f891e1 100644 --- a/arch/ia64/include/asm/Kbuild +++ b/arch/ia64/include/asm/Kbuild @@ -1,8 +1,6 @@ - generic-y += clkdev.h generic-y += exec.h generic-y += irq_work.h -generic-y += kvm_para.h generic-y += mcs_spinlock.h generic-y += mm-arch-hooks.h generic-y += preempt.h From patchwork Sun Jul 9 18:32:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 107265 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2542109qge; Sun, 9 Jul 2017 11:38:34 -0700 (PDT) X-Received: by 10.84.236.76 with SMTP id h12mr14225091pln.88.1499625514594; Sun, 09 Jul 2017 11:38:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499625514; cv=none; d=google.com; s=arc-20160816; b=GwMfZAaHGAOuFmEqvYSwEXvhB8hnX862h9sKITj4jIO1Qq/EEscwTSux5t19MTTO5B N6P+SAL0zefgqutzOMo2qu6oUDlQgNfY81Ue/P5dgZf4jf42U/wHP7fybvvt2um/oMLL W2hVzztjuyJtgfcavdRLYY4Pwp30McL5XJSQZyBaqapqHL9E2bvZxT94cnJslmIVrP/F YkbAo9KTvDY0bb/uywLjsTOBkoMfVKo4qxuSKhbfIRbaYpqjGZt5i7CiUAs4bmAJObod kxJ1djru8IDa5EcV4NVFnpNvAb1wsaNhfa4XKv4ZUaIR/7/YTLIIszirLgJhvD3y7E2B 2M1A== 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=bRNtCmQHVdw8QkU2J/QPY5xDE4I/3G+J8jLlEOphGXA=; b=uACeyZvE5Vq98sF2anZrA93DRYxL8qySDdef5+PgBc4u99Za/JQTxoxv5gwWopAjzQ VOz1PMrXQAojFDZoQYpAPODrBzp/WGTLo6gcJmcg7Aqv20HfltAn/oHkGwLetoKn0nnZ 0m8z+TCCNipSi58s0xZeQDuh5vZFI16FusslKzhXjYuHUba9h8x7l0+l+II8hrOMuq1F uw9+Ac8ey2P/5N2+/rkz+TxfCublpy5ytEWwNaiJUp9WHhFYOoxv0K/4B6GnDyqilR3I AvwHAqcJvp4mL3yJThOlwb75n5hI3IlZ5lhq23cp/sgG8BT+OWdf9Sq1TedU+OQBvrim SwOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.b=fh6CyOE5; 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 t1si6471175pgs.53.2017.07.09.11.38.34; Sun, 09 Jul 2017 11:38:34 -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=fh6CyOE5; 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 S1753224AbdGIShz (ORCPT + 25 others); Sun, 9 Jul 2017 14:37:55 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:45699 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752553AbdGISdR (ORCPT ); Sun, 9 Jul 2017 14:33:17 -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 v69IX2D9000353; Mon, 10 Jul 2017 03:33:14 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v69IX2D9000353 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1499625194; bh=bRNtCmQHVdw8QkU2J/QPY5xDE4I/3G+J8jLlEOphGXA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fh6CyOE5JTsfuIcri6cnJi1ywdELSbtrZq3sDsL8fFsUfqgf8NGBT/xf2v5PaLUnr zaxYLAsoeXRqoNtljnHdN6YnH7SyIjRcw/2pRXm78AbH5Bs66vZ7CBmUJU50mZwN0e /ryrsyMZgYH51PaXtk2xsBVjyo7GQSWQReTabQvC+xyZLfLhIw5oBL+rOk0L9fVr65 pBViZnyU8wbiM1bA22NWcOHjMCpKb9Qpii2WWFC26gJUj+dnBjlaCpVX9/P9G268NH twfKVK7jFWzIIcEB5ojCps09jx0OgpwhwtVbgp5pEDIIwVdRPSwB7SeECekeDEhv/Q cGLN5J2xAK7WQ== 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 13/28] m32r: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 10 Jul 2017 03:32:45 +0900 Message-Id: <1499625180-8067-14-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/m32r/include/asm/Kbuild | 4 +--- arch/m32r/include/uapi/asm/Kbuild | 3 ++- 2 files changed, 3 insertions(+), 4 deletions(-) -- 2.7.4 diff --git a/arch/m32r/include/asm/Kbuild b/arch/m32r/include/asm/Kbuild index c000ffac8586..7e11b125c35e 100644 --- a/arch/m32r/include/asm/Kbuild +++ b/arch/m32r/include/asm/Kbuild @@ -1,10 +1,9 @@ - generic-y += clkdev.h generic-y += current.h generic-y += exec.h generic-y += extable.h generic-y += irq_work.h -generic-y += kvm_para.h +generic-y += kprobes.h generic-y += mcs_spinlock.h generic-y += mm-arch-hooks.h generic-y += module.h @@ -12,4 +11,3 @@ generic-y += preempt.h generic-y += sections.h generic-y += trace_clock.h generic-y += word-at-a-time.h -generic-y += kprobes.h diff --git a/arch/m32r/include/uapi/asm/Kbuild b/arch/m32r/include/uapi/asm/Kbuild index c94ee54210bc..1c44d3b3eba0 100644 --- a/arch/m32r/include/uapi/asm/Kbuild +++ b/arch/m32r/include/uapi/asm/Kbuild @@ -1,4 +1,5 @@ # UAPI Header export list include include/uapi/asm-generic/Kbuild.asm -generic-y += siginfo.h +generic-y += kvm_para.h +generic-y += siginfo.h From patchwork Sun Jul 9 18:32:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 107243 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2538993qge; Sun, 9 Jul 2017 11:33:35 -0700 (PDT) X-Received: by 10.84.136.1 with SMTP id 1mr13941357plk.74.1499625215621; Sun, 09 Jul 2017 11:33:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499625215; cv=none; d=google.com; s=arc-20160816; b=TnE296gskQh3B/gnARWobj3MJyt3XhDVkRszetbWdrodI416V/sJTxl7JYF5kVr/qu vQx25RiRk8G3i/PDxn3j4SBSHXk++0mbmarvrozV4pjc1YBhwp50r+jl3yQAseA8bE5b eAnKTgS3qbfDG0Zsyr08eYe9du5HbdPVHqq+MWsB3XtfJUKt4ar5vxRSsmIMNPobf4Ox s8PuFY05g5+6PVDOWroV3ywPeyRoKgKgx1Ib8RlJLwqbgxq7R+pa3bYnqpJKGKOhRzkM HrFFBsFsU0CDL4oYWXzT0zscR23wUfS2YgW2ickyfwnbWKYY7r59DrqXPAJrTVX013Nr clHA== 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=KT6gok0Y9MhnbaGofciL/dXu5swWG/ZLT6YuqBcZGxg=; b=HzRhSS1R4asSk9KaJPadWnZ6nbSZb82AYfGyJwxr9KWlOTBCqhnW3gh2Fq9t/50KTw 4o9ZkotEgU/kv/P+8P5iMOUrZqu9DUCd6VwzBEzBp6+3cUcmgqfq90WRHBYOPKdCw3kB gyVbeMhFTg1EF/hvnje/HHCM9X3WmX35dk6XgXWfaYRgwlPsRUtPYuw+/ZSJ1ih7638+ 2LX3rVoFFaOB3fgdy6GFJunqxKQeJsTo9W6YBEExChiQrA4dsaJR3JR3rlruVrINeA0r fUrVG4QtFYE/hom3jV8eaE2sWWQOxrZrEj6h9v2lT5gE9TAQVZHqPnZ7ibNqtjY28iCW dX8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.b=hzdkXHsw; 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 z80si6375724pfk.418.2017.07.09.11.33.35; Sun, 09 Jul 2017 11:33:35 -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=hzdkXHsw; 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 S1752686AbdGISd2 (ORCPT + 25 others); Sun, 9 Jul 2017 14:33:28 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:45816 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752631AbdGISdY (ORCPT ); Sun, 9 Jul 2017 14:33:24 -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 v69IX2DA000353; Mon, 10 Jul 2017 03:33:15 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v69IX2DA000353 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1499625195; bh=KT6gok0Y9MhnbaGofciL/dXu5swWG/ZLT6YuqBcZGxg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hzdkXHswM+PRKQYb9efYIA7hUHitCWU+np0NkaCQoWyvOOcWwRU5biXJgU+Ze/kqI arFlvIHUNJIP9g1uhH/wfdUevu/XOjJ1RXMwR/s/tWkXtJkWjeVu6abAB2PwtS4kqW QjimLKG4vl7OY6Ah4JzkH0ZU7WzVMK8OK88zQVIUYDzLFYRSQSU7X/QK+SJzy+x2m+ ikIasqwXDJB9bZeSsCg+/7HJW+cG1aXIgmienBbT7DnfNdFSTwVFaJgadzXSbJQKpS rfUb9cibOJDLjsVmZ3rmvY+OzszD4TufbI0K9jzXWcz9uE/isiX5MUsV588Ykthntk 0x1BlYrrTpaRg== 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 14/28] m68k: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 10 Jul 2017 03:32:46 +0900 Message-Id: <1499625180-8067-15-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. For m68k, "generic-y += termios.h" is doubled in asm/Kbuild and uapi/asm/Kbuild. So, the one in the former can be simply removed. Also, move "generic-y += kprobes.h" up in order to keep the entries sorted. Signed-off-by: Masahiro Yamada Acked-by: Geert Uytterhoeven --- arch/m68k/include/asm/Kbuild | 13 +------------ arch/m68k/include/uapi/asm/Kbuild | 10 ++++++++++ 2 files changed, 11 insertions(+), 12 deletions(-) -- 2.7.4 diff --git a/arch/m68k/include/asm/Kbuild b/arch/m68k/include/asm/Kbuild index 5ecf4e47b2e2..59d6d0d38f67 100644 --- a/arch/m68k/include/asm/Kbuild +++ b/arch/m68k/include/asm/Kbuild @@ -1,36 +1,25 @@ generic-y += barrier.h -generic-y += bitsperlong.h generic-y += clkdev.h generic-y += device.h generic-y += emergency-restart.h -generic-y += errno.h generic-y += exec.h generic-y += extable.h generic-y += futex.h generic-y += hw_irq.h -generic-y += ioctl.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 += kvm_para.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 += percpu.h generic-y += preempt.h -generic-y += resource.h generic-y += sections.h -generic-y += shmparam.h generic-y += spinlock.h -generic-y += statfs.h -generic-y += termios.h generic-y += topology.h generic-y += trace_clock.h -generic-y += types.h generic-y += word-at-a-time.h generic-y += xor.h -generic-y += kprobes.h diff --git a/arch/m68k/include/uapi/asm/Kbuild b/arch/m68k/include/uapi/asm/Kbuild index 68b45cc87e2c..3717b64a620d 100644 --- a/arch/m68k/include/uapi/asm/Kbuild +++ b/arch/m68k/include/uapi/asm/Kbuild @@ -2,11 +2,21 @@ include include/uapi/asm-generic/Kbuild.asm generic-y += auxvec.h +generic-y += bitsperlong.h +generic-y += errno.h +generic-y += ioctl.h +generic-y += ipcbuf.h +generic-y += kvm_para.h +generic-y += mman.h generic-y += msgbuf.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 += statfs.h generic-y += termbits.h generic-y += termios.h +generic-y += types.h From patchwork Sun Jul 9 18:32:47 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 107250 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2540181qge; Sun, 9 Jul 2017 11:35:20 -0700 (PDT) X-Received: by 10.98.144.209 with SMTP id q78mr40818257pfk.81.1499625319908; Sun, 09 Jul 2017 11:35:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499625319; cv=none; d=google.com; s=arc-20160816; b=KKzJnCQUx4dGMpbVpd1m2E2uzdveN7mb2qvludz+M4besbCPqS+X6U5zw/GrBLiQF4 SErsh+jGGhJQBadk9CjIt1z0L4Vy/GDSZ4m9Aspo8XTN8fFc/iXySjK2SzQG3QQNY150 /5SXcjmBhAL7eyBzr3uQoU7aDJloedVr9p9BAs+CwcPWTuyNahAuDkzTpxUgKJxnQE0y rOSHF+LLfXCAC5XMaheG4wgBYtA5TqqoKG+7GUZV7Hvff32wa/eSfXBwYU/77FOLxryO laJHJvx/3N3iZPqRRr/T/qrSeok0IshFZBbQRKHkriokZrp2zXhsjG4Gt9rg7uR9Rvy1 L7pg== 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=g1BO2Je9RPBbYIZWTX1MBHv+j4R3l7j+wFMvato2pB0=; b=BpVcSf32/mkeqMQzC25U9LAPw18mONc+9lNHLnfpVxDfKZV9I01GYvOnFBY1fD4Ayx Od/ixEO2lbhKBo0LTo6ABSuTZlNz+WmSrY13Pvvb7qi3bx+cc4B3rRrlqysEzyKyy/02 g6ixB2ywIAm5TRl0525RVuAn7TwjawWBWtyu7gBbKaJV+ZhcPNZi2fOU9p0w9A1hIsk9 ugIUSZ+mI+0wYx7KcKM074NirZ/1tbpcqlIyfNiZKElPwxDPgc91va463SJpGCq76WJN 38b1rGrqwFxFoRdzYlWeh7DxvEeY0Z7GoZ8eq4HfyzZOCWTV17Z2Xc07IJ2FzWpQ3e55 mS+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.b=Uwmstzd2; 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 m4si6108883pgs.108.2017.07.09.11.35.19; Sun, 09 Jul 2017 11:35:19 -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=Uwmstzd2; 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 S1753149AbdGISdi (ORCPT + 25 others); Sun, 9 Jul 2017 14:33:38 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:45819 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752634AbdGISdY (ORCPT ); Sun, 9 Jul 2017 14:33:24 -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 v69IX2DB000353; Mon, 10 Jul 2017 03:33:15 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v69IX2DB000353 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1499625195; bh=g1BO2Je9RPBbYIZWTX1MBHv+j4R3l7j+wFMvato2pB0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Uwmstzd2nnDGf3UDM1jOmwhLU+vEpgfbAw/ituC6KJx4Jve056yya4q4Ux4ifjNJD DJk80vTKSUKga5UbYpHGc7Ipy999nkNquRxRm2BYZ+5t/Pe1SAZisOjJkEuF2pxHl7 cdKD/WS9oaj3azkVCHGQIb7q19BkMTLPB+QbA/fGUM/zNNKQuG/tb8bqG1Vd+d3h+w r6WfFQbxg7Xwlfg7z3ibcIanWzCDANvaKPnYNy4yZZMiQ1A38eLyPww0bicyX2cb9v MxrzlKR0v403kpGGaipq+OqBVB5duKiTmXWRQUIEz1AeJoFvicB+Nl/HzUuqjtyDfu hoOPB3LPnXgyQ== 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 15/28] metag: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 10 Jul 2017 03:32:47 +0900 Message-Id: <1499625180-8067-16-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/metag/include/asm/Kbuild | 26 +------------------------- arch/metag/include/uapi/asm/Kbuild | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 25 deletions(-) -- 2.7.4 diff --git a/arch/metag/include/asm/Kbuild b/arch/metag/include/asm/Kbuild index 8f940553a579..3fba97ed9bb2 100644 --- a/arch/metag/include/asm/Kbuild +++ b/arch/metag/include/asm/Kbuild @@ -1,58 +1,34 @@ -generic-y += auxvec.h -generic-y += bitsperlong.h generic-y += bugs.h generic-y += clkdev.h generic-y += current.h generic-y += device.h generic-y += dma.h generic-y += emergency-restart.h -generic-y += errno.h generic-y += exec.h generic-y += extable.h generic-y += fb.h -generic-y += fcntl.h generic-y += futex.h generic-y += hardirq.h generic-y += hw_irq.h -generic-y += ioctl.h -generic-y += ioctls.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 += kvm_para.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 += msgbuf.h -generic-y += param.h generic-y += pci.h generic-y += percpu.h -generic-y += poll.h -generic-y += posix_types.h generic-y += preempt.h generic-y += sections.h -generic-y += sembuf.h generic-y += serial.h -generic-y += shmbuf.h -generic-y += shmparam.h -generic-y += signal.h -generic-y += socket.h -generic-y += sockios.h -generic-y += stat.h -generic-y += statfs.h generic-y += switch_to.h -generic-y += termbits.h -generic-y += termios.h generic-y += timex.h generic-y += trace_clock.h -generic-y += types.h -generic-y += ucontext.h generic-y += unaligned.h generic-y += user.h generic-y += vga.h generic-y += word-at-a-time.h generic-y += xor.h -generic-y += kprobes.h diff --git a/arch/metag/include/uapi/asm/Kbuild b/arch/metag/include/uapi/asm/Kbuild index b29731ebd7a9..6ac763d9a3e3 100644 --- a/arch/metag/include/uapi/asm/Kbuild +++ b/arch/metag/include/uapi/asm/Kbuild @@ -1,6 +1,30 @@ # UAPI Header export list include include/uapi/asm-generic/Kbuild.asm +generic-y += auxvec.h +generic-y += bitsperlong.h +generic-y += errno.h +generic-y += fcntl.h +generic-y += ioctl.h +generic-y += ioctls.h +generic-y += ipcbuf.h +generic-y += kvm_para.h generic-y += mman.h +generic-y += msgbuf.h +generic-y += param.h +generic-y += poll.h +generic-y += posix_types.h generic-y += resource.h +generic-y += sembuf.h generic-y += setup.h +generic-y += shmbuf.h +generic-y += shmparam.h +generic-y += signal.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 From patchwork Sun Jul 9 18:32:48 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 107256 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2541026qge; Sun, 9 Jul 2017 11:36:47 -0700 (PDT) X-Received: by 10.84.214.136 with SMTP id j8mr14067414pli.40.1499625407029; Sun, 09 Jul 2017 11:36:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499625407; cv=none; d=google.com; s=arc-20160816; b=OxJPRUhqFMWe7i9iBXAhdYgoxlM6X2IQG4erRjEN14Z29mgm7WuDjnGSuJAreUw+Jk rMtVz8DDSGFW5/KT0Fy0MSJdSOkEsiFubyHKqenxUp7RHWHMW6Mpbhj5nEdHO75b3P8Y p8SzF1NirpwopArUrEkNSxz7UH3UC/LKVllwv/o/nl2+U7tHYFILbnd7vXXm+PXXiX4Q 5NReBJm2NpgsIZ/2L/+C+NfTt/WzFLQW2QnWFE4WKkrdyHoxP8fphoeekGxIMB4s6VdL luMDvTzDfuKNch3KqTKrMm2MjzA3laSioV10olGwac0nMqAhQZYNACLKAAABwcG3uWPM BPnA== 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=c8EmeJ5DZCBSyUy39E8LjnYaTT6otPi8TVtvfSyLK6E=; b=fjHWQdhv9KmyiGm/ly8IuM/HtQ/q/nQUM1F477oiUP4VKvgjWb4KC6jpVbD4mCWKXp JE1WuwcneHGt3ePEHzezDa6TGkzhV+8pUedFZnfHvtrFDS5rasD/BdnyELaRxG7xtnv2 gXnAMdYV+0lR/iicW4asLvGAZ0J1V5SsyoNeP0/qxXpknlNUhQcolY9tosh8uo/yD9El XeXJVx9V4Q+GKb8g1elhxYP093Ytrwd456GiB0nJ0osYWDeD+yGdAEyYtF68vpUI6Y8Q hPrZcuUQ0y1JcAAhy/8AZ0vRI3ia0pbPJGuvFo1g95LZnBF0IbkX7Vnab+ZZoBXkJVlt VmTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.b=iYJhXb7C; 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 b8si7226065plk.87.2017.07.09.11.36.46; Sun, 09 Jul 2017 11:36:47 -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=iYJhXb7C; 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 S1753279AbdGISgT (ORCPT + 25 others); Sun, 9 Jul 2017 14:36:19 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:45823 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752648AbdGISdY (ORCPT ); Sun, 9 Jul 2017 14:33:24 -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 v69IX2DC000353; Mon, 10 Jul 2017 03:33:16 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v69IX2DC000353 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1499625196; bh=c8EmeJ5DZCBSyUy39E8LjnYaTT6otPi8TVtvfSyLK6E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iYJhXb7C1gnXfXiHc9lJ+XWfMqhOiNy4HeZz72QAnl9Z4nLdcsFhWdxfn2yhjWpw0 QI3IYMeGF0qn/pnvOqmLr7J3xVbVTF6ewcVAUxuNNUWd8CT1XpQG3s8N8Kvv90ByUN 1AFfsK9awR+mg0/WaVV16UuhPIycoDP2oP+QoC2WOpDNOY1k1J39BqMlP/d4aijaiE Ik+uXAh9tzZaoDCkwHjzxJHSQ8MET0irnHZvZniQa0gmCbkM1BCQ+n1Fuh0V9afw69 r/qZINWnAd/DptQUgjG9nY7SNeb7ICcPo1Jb36IOzJoxaGLYAwhshA2eOf1a6ECKtX hY2gFng910rDw== 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 16/28] microblaze: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 10 Jul 2017 03:32:48 +0900 Message-Id: <1499625180-8067-17-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. For microblaze, "generic-y += siginfo.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 --- arch/microblaze/include/asm/Kbuild | 25 ------------------------- arch/microblaze/include/uapi/asm/Kbuild | 25 ++++++++++++++++++++++++- 2 files changed, 24 insertions(+), 26 deletions(-) -- 2.7.4 diff --git a/arch/microblaze/include/asm/Kbuild b/arch/microblaze/include/asm/Kbuild index 83a4ef3a2495..9d66f7793841 100644 --- a/arch/microblaze/include/asm/Kbuild +++ b/arch/microblaze/include/asm/Kbuild @@ -1,22 +1,15 @@ - generic-y += barrier.h generic-y += bitops.h -generic-y += bitsperlong.h generic-y += bug.h generic-y += bugs.h generic-y += clkdev.h generic-y += device.h generic-y += div64.h generic-y += emergency-restart.h -generic-y += errno.h generic-y += exec.h generic-y += extable.h generic-y += fb.h -generic-y += fcntl.h generic-y += hardirq.h -generic-y += ioctl.h -generic-y += ioctls.h -generic-y += ipcbuf.h generic-y += irq_regs.h generic-y += irq_work.h generic-y += kdebug.h @@ -27,31 +20,13 @@ 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 += param.h generic-y += parport.h generic-y += percpu.h -generic-y += poll.h generic-y += preempt.h -generic-y += resource.h -generic-y += sembuf.h generic-y += serial.h -generic-y += shmbuf.h -generic-y += shmparam.h -generic-y += siginfo.h -generic-y += signal.h -generic-y += socket.h -generic-y += sockios.h -generic-y += stat.h -generic-y += statfs.h -generic-y += swab.h generic-y += syscalls.h -generic-y += termbits.h -generic-y += termios.h generic-y += topology.h generic-y += trace_clock.h -generic-y += ucontext.h generic-y += vga.h generic-y += word-at-a-time.h generic-y += xor.h diff --git a/arch/microblaze/include/uapi/asm/Kbuild b/arch/microblaze/include/uapi/asm/Kbuild index cb6784f4a427..e77a596f3f1e 100644 --- a/arch/microblaze/include/uapi/asm/Kbuild +++ b/arch/microblaze/include/uapi/asm/Kbuild @@ -1,5 +1,28 @@ # UAPI Header export list include include/uapi/asm-generic/Kbuild.asm -generic-y += types.h +generic-y += bitsperlong.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 += param.h +generic-y += poll.h +generic-y += resource.h +generic-y += sembuf.h +generic-y += shmbuf.h +generic-y += shmparam.h generic-y += siginfo.h +generic-y += signal.h +generic-y += socket.h +generic-y += sockios.h +generic-y += stat.h +generic-y += statfs.h +generic-y += swab.h +generic-y += termbits.h +generic-y += termios.h +generic-y += types.h +generic-y += ucontext.h From patchwork Sun Jul 9 18:32:49 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 107252 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2540189qge; Sun, 9 Jul 2017 11:35:21 -0700 (PDT) X-Received: by 10.99.167.72 with SMTP id w8mr11010305pgo.202.1499625321138; Sun, 09 Jul 2017 11:35:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499625321; cv=none; d=google.com; s=arc-20160816; b=ediyfwlorwRzh3rtfhyAGkulAd1xT8EUIuXJmvX8U0qAUUNcAle4H1BG0OidMCZgnw rhVQQ0NtQR3axkytuVB4sJG8WGmg1oLc9kj1QDUctsTHCOUZk52dSjIcuWEukaJrukl1 gFMDwVEwmyUfInIO86xT/TQ8RStapqVAwDcxZ68uswEB8myWBpx7edeCOINbN5uVUtzG yP15PZ0eeXmE1v0okPeG2GWsjKRVhzOdA4jpU00wWMaQrtlRqwab9hfhLzk+vdnpZJhF ZrF+tVdT8WWi0nyXOXR1xZYPy85tfBpEb8xinUE+PbU0+1ddxI9yUnu2LAJn9x/JBGkX NKvw== 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=eSqi8gyIpJKIKYxSy/OZtovKmo73XEto4bPXK8PSTEc=; b=Z9tBPCkR47EQMuH8EFWu9iMYc5JUcvCwI+nyH8poNrRvUFA6kEmgFBjMXBB1JEN0F2 qXIwrFALUyWuF/uwt1ti1HpbGAH/29KTsGBKFEytZHOMiWzq63GxQrehA4QxqfJtw7Am WCvWwEJuwJuIoMmhcT4o66cW+1vvzvK3WWcpT8PWibVdbhaMjLO0O1bc0n1iSp3dNm/C VjXKIoumJRvTUEfByuRNaXz+hlhQ/o1rToFS0j90keGia2T+EjIIM30gC2C0ygPJJxx3 F6R5Xc9gpbqKmv+8Cpl2xKY5yLr3t1z0GvzPb9AMzPID64I9ZBbJTKYPw1arWSzhAHUx YVgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.b=ozV5RX54; 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 m4si6108883pgs.108.2017.07.09.11.35.20; Sun, 09 Jul 2017 11:35:21 -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=ozV5RX54; 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 S1753070AbdGISdf (ORCPT + 25 others); Sun, 9 Jul 2017 14:33:35 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:45821 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752626AbdGISdY (ORCPT ); Sun, 9 Jul 2017 14:33:24 -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 v69IX2DD000353; Mon, 10 Jul 2017 03:33:16 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v69IX2DD000353 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1499625196; bh=eSqi8gyIpJKIKYxSy/OZtovKmo73XEto4bPXK8PSTEc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ozV5RX54B9v52j709A8u8v6eNhgFTKQLvVunYd1GrcpSECv4aT0BbdnJGMwmn3YfE /3uTtYawI64n67Q0nCR/2Fp/SxW3T0Ih1f/dKby+RKQsI22yNmyduoDivgquKYyXTw PHR4pwUdxjBZB0OrV0KcXwTk4LzLLkJXE1p0lsZIE/BipQUQsmiSdhgG5BTFIgnWEQ 0dBb2NtkmG4dGEHuE8EzkFeSSJsYBcj7NmLKkJnECD5GzTkuO739zuW2muxWdomePR zmKhiPyAaQb4pqRwS5p/jswWnJF8iF1KLCmQgp/5CvIQMPIz0V6ipDcToT9OX/ZSYM hPUcXDt4MmCJw== 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 17/28] nios2: remove unneeded arch/nios2/include/(generated/)asm/signal.h Date: Mon, 10 Jul 2017 03:32:49 +0900 Message-Id: <1499625180-8067-18-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 Currently, NIOS2 has three signal.h files under arch/nios2/include: [1] arch/nios2/include/asm/signal.h [2] arch/nios2/include/uapi/asm/signal.h [3] arch/nios2/include/generated/asm/signal.h [3] is build-time generated by scripts/Makefile.asm-generic. However, -I$(srctree)/arch/$(hdr-arch)/include search path is listed before -I$(objtree)/arch/$(hdr-arch)/include/generated in LINUXINCLUDE. Therefore [1] is always included instead of [3]. Remove [3] which is never included. If we look at [1], it just includes [2]. So, [1] can be removed as well. Signed-off-by: Masahiro Yamada --- arch/nios2/include/asm/Kbuild | 1 - arch/nios2/include/asm/signal.h | 22 ---------------------- 2 files changed, 23 deletions(-) delete mode 100644 arch/nios2/include/asm/signal.h -- 2.7.4 Reviewed-by: Tobias Klauser diff --git a/arch/nios2/include/asm/Kbuild b/arch/nios2/include/asm/Kbuild index e1a843def56f..c1c7f6736117 100644 --- a/arch/nios2/include/asm/Kbuild +++ b/arch/nios2/include/asm/Kbuild @@ -47,7 +47,6 @@ generic-y += segment.h generic-y += sembuf.h generic-y += serial.h generic-y += shmbuf.h -generic-y += signal.h generic-y += socket.h generic-y += sockios.h generic-y += spinlock.h diff --git a/arch/nios2/include/asm/signal.h b/arch/nios2/include/asm/signal.h deleted file mode 100644 index bbcf11eecb01..000000000000 --- a/arch/nios2/include/asm/signal.h +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright Altera Corporation (C) 2013. All rights reserved - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License along with - * this program. If not, see . - * - */ -#ifndef _NIOS2_SIGNAL_H -#define _NIOS2_SIGNAL_H - -#include - -#endif /* _NIOS2_SIGNAL_H */ From patchwork Sun Jul 9 18:32:50 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 107255 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2540629qge; Sun, 9 Jul 2017 11:36:05 -0700 (PDT) X-Received: by 10.99.178.83 with SMTP id t19mr11293860pgo.34.1499625365294; Sun, 09 Jul 2017 11:36:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499625365; cv=none; d=google.com; s=arc-20160816; b=02sF6F1joUsB688Jar/HgmQh7K9S2XkoJPWx7y64EeEqzLcTha1JP7sOURYsUn4MDp dDXf2/eCa/e9tnaul5mUm4cUZ39mpAw2NHFL5cN7rops7afyoOr+wFso19iPyKPSLg99 VKQBf4RKKhVBsCSFNwx7OiZfKNCgrPx40v+p++hxxS3opp4aDEpnri+LfKLjn9FVIijj FWgTs5eGp3XzSpAotfc3q+uSzhdHTIUp8dmK7a8Y51xEUd9nHWkINHfNUznHVp/YOUeD fEdmx+P3I3LNkQxm4VZb5FvPTwS1wOGTDKFMmtrA8stsCF+rUVE9h82XnGSNhju7dozR rO9g== 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=ejaWj8yjG/D4oV/i2tfTWW5TmjbxO92R/hoaAI9K+ds=; b=fNE99fiXOa0qZO+YHmUtz9UtBLF1RAyYXIoXKSSnf+0xxEP0fXt7KeL6QuiYjKbvrF xhYUwS/zHB346emlsqzOHo6TVWCo05VQbDdCvltGgE0YNyEF6f0ppUm7/Ovd21OiRYJv MP+IHe4ztl43UWIo4ai1oEweY0Vo/2MhCK40BYbuc00iIeOqHh5DyXotNj1pKhSqG1OD +9SB+41Gk+GehKvnmDeo3j3RzHo6rqsWtPYBSuE1hZYCbRfIhN2NBKpHHJ5MK2Sr9Vl6 YEtYFz9rp+gxedoFUFygv1kcrteyFcNqNWgN32BbWsjnpdogqubhHw4ygiSyFxzSWtWB dZpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.b=Ahps0npN; 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 s7si3228474pfa.472.2017.07.09.11.36.05; Sun, 09 Jul 2017 11:36:05 -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=Ahps0npN; 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 S1752732AbdGISdb (ORCPT + 25 others); Sun, 9 Jul 2017 14:33:31 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:45813 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752633AbdGISdY (ORCPT ); Sun, 9 Jul 2017 14:33:24 -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 v69IX2DE000353; Mon, 10 Jul 2017 03:33:17 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v69IX2DE000353 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1499625197; bh=ejaWj8yjG/D4oV/i2tfTWW5TmjbxO92R/hoaAI9K+ds=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ahps0npNz26gv+JE+5foj0B9nm9t03R3d92OYuLEofAnL1ETTdDAKp6/RtafXJNnT lyBZHzsBvvzGQzA/ltSTMl/1VVAwznQ+MGFr1VII8WnMauMESjeNbLoO9aahsWR4MI qtL474ilYmPlA8a0j1QZfSMM6ZgIdoFRLbG+BX13fA3joVDHk9s+Edcil5IIO7QV6S CAI1rLHzdQDukLx7g58gq+Sr/Wh/VpcKEAwDTytXv7os4QBFrQkNmpXv2hclrwUI73 wgKSy7qbslZgODQ8UZrPS23BXSTjRWxhgphs4cyioAieFhsyFtcYkUQvaZHXWuq30s 05mQKx9vCxf8w== 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 18/28] nios2: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 10 Jul 2017 03:32:50 +0900 Message-Id: <1499625180-8067-19-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/nios2/include/asm/Kbuild | 25 +------------------------ arch/nios2/include/uapi/asm/Kbuild | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+), 24 deletions(-) -- 2.7.4 Reviewed-by: Tobias Klauser diff --git a/arch/nios2/include/asm/Kbuild b/arch/nios2/include/asm/Kbuild index c1c7f6736117..896c26ae0da9 100644 --- a/arch/nios2/include/asm/Kbuild +++ b/arch/nios2/include/asm/Kbuild @@ -1,8 +1,6 @@ generic-y += atomic.h -generic-y += auxvec.h generic-y += barrier.h generic-y += bitops.h -generic-y += bitsperlong.h generic-y += bug.h generic-y += bugs.h generic-y += clkdev.h @@ -12,54 +10,33 @@ generic-y += device.h generic-y += div64.h generic-y += dma.h generic-y += emergency-restart.h -generic-y += errno.h generic-y += exec.h generic-y += extable.h generic-y += fb.h -generic-y += fcntl.h generic-y += ftrace.h generic-y += futex.h generic-y += hardirq.h generic-y += hw_irq.h -generic-y += ioctl.h -generic-y += ioctls.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 += kvm_para.h +generic-y += kprobes.h generic-y += local.h generic-y += mcs_spinlock.h generic-y += mm-arch-hooks.h -generic-y += mman.h generic-y += module.h -generic-y += msgbuf.h -generic-y += param.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 += sections.h generic-y += segment.h -generic-y += sembuf.h generic-y += serial.h -generic-y += shmbuf.h -generic-y += socket.h -generic-y += sockios.h generic-y += spinlock.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 += unaligned.h generic-y += user.h generic-y += vga.h generic-y += word-at-a-time.h generic-y += xor.h -generic-y += kprobes.h diff --git a/arch/nios2/include/uapi/asm/Kbuild b/arch/nios2/include/uapi/asm/Kbuild index 51eff5bc2eb4..ffca24da7647 100644 --- a/arch/nios2/include/uapi/asm/Kbuild +++ b/arch/nios2/include/uapi/asm/Kbuild @@ -1,6 +1,29 @@ # UAPI Header export list include include/uapi/asm-generic/Kbuild.asm +generic-y += auxvec.h +generic-y += bitsperlong.h +generic-y += errno.h +generic-y += fcntl.h +generic-y += ioctl.h +generic-y += ioctls.h +generic-y += ipcbuf.h +generic-y += kvm_para.h +generic-y += mman.h +generic-y += msgbuf.h +generic-y += param.h +generic-y += poll.h +generic-y += posix_types.h +generic-y += resource.h +generic-y += sembuf.h generic-y += setup.h +generic-y += shmbuf.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 From patchwork Sun Jul 9 18:32:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 107246 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2539097qge; Sun, 9 Jul 2017 11:33:44 -0700 (PDT) X-Received: by 10.84.232.77 with SMTP id f13mr13983748pln.172.1499625224341; Sun, 09 Jul 2017 11:33:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499625224; cv=none; d=google.com; s=arc-20160816; b=Z9HT3plylemNOj7yglHtLER05NqR3eNIrlHgt6GoRRmvdor0bVfAJnztaVcgviIaJs BzUOX7kAy5OIfQkFFqb2Ds4gmDswZBWqTv8WY2uXNbWi/sAHVqLDqIbd7HE1Fs7Vjurb SrcFWz2Rxf1nNloXELHFrgvHd4WkqmKxO5AAO6mPSuTb6sZrXDPdw5FZC92zM+CiR3Ey Y+8XqbgT4PB+BD66PsGVrmYIhypx5C+/Xnx4pLR4BEDJfjQopmA779wBNbwD3OtT3N2O Cc4fTfDFmfpymqmFM789NT5117OobpNqLqVVvgkmftkO498CpX7TR3ccXfztDvX4usCl bXMg== 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=i4w3J/275gYNe8U3cQQyAkGshxDj92/4cbgwuY79v4A=; b=i9C7nl/jrvHlpZYjyVtlitCmaqxeGxoxRDZiygWt6/ZhXIYwMGWlR2iB4Oyu+OEBuS Eg93xr4uzuSOfYCK5SaOf4G9uk+jtkekZlchL5fhNPMIl8dG8QEFaPn5i1MER3DPVdaO wiFblvv93WDkVFcDfS61ap6knoD2aStEpi80YxrCC0r+EQV7ZO1ShpC5UH8RGKaZETqJ xstlWxM+/ag5re1qb9a/7mnL+UP8+XJzKwu1VsL2yij1racMldFkv3B1o/VOPpJxzvuP /SwIW4F1mmjpY/uSwoP2tuRTXfPsALevbtEJvy073Kpvm4cUlJ7m7cln5uRQ2Qh5i2d1 Ib1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.b=x7xsZZIO; 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 n24si6647366pgd.129.2017.07.09.11.33.44; Sun, 09 Jul 2017 11:33:44 -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=x7xsZZIO; 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 S1753207AbdGISdl (ORCPT + 25 others); Sun, 9 Jul 2017 14:33:41 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:45815 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752623AbdGISdX (ORCPT ); Sun, 9 Jul 2017 14:33:23 -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 v69IX2DF000353; Mon, 10 Jul 2017 03:33:17 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v69IX2DF000353 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1499625197; bh=i4w3J/275gYNe8U3cQQyAkGshxDj92/4cbgwuY79v4A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=x7xsZZIOBPrcOWjr/6BEc3lFSAzNnGo7w6KV36Ym47Oli0W/NCotKKKIdtLI6adJG HQIYQhpK1Iy6DHl4132/JoLhaiRBAddjPkHY9iZNNP6Amtp6Wwszcrcg90uWQV0LPX 6mu64R5WYP6f3upgm6enETtLeBsFbDA77UCGnQxAbn7vMsSSb4jJyMCLkqIceJH4CJ KVZmmRbxASPKl9dmRPAGv3ZHolUB7AedlXQIFe37sqF9K95OiajVEjFg3MY0Qq6ucT ydYWjAfeL9+cK8Echn3rEvUaZp9cqR3/Wzyp7VoKrizdaosTq1920pJ5PfU/kTojRa hpJV+LiioThpQ== 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 19/28] openrisc: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 10 Jul 2017 03:32:51 +0900 Message-Id: <1499625180-8067-20-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/openrisc/include/asm/Kbuild | 29 +---------------------------- arch/openrisc/include/uapi/asm/Kbuild | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 28 deletions(-) -- 2.7.4 Acked-by: Stafford Horne diff --git a/arch/openrisc/include/asm/Kbuild b/arch/openrisc/include/asm/Kbuild index 091585addb91..5bea416a7792 100644 --- a/arch/openrisc/include/asm/Kbuild +++ b/arch/openrisc/include/asm/Kbuild @@ -1,6 +1,4 @@ -generic-y += auxvec.h generic-y += barrier.h -generic-y += bitsperlong.h generic-y += bug.h generic-y += bugs.h generic-y += cacheflush.h @@ -11,57 +9,32 @@ generic-y += device.h generic-y += div64.h generic-y += dma.h generic-y += emergency-restart.h -generic-y += errno.h generic-y += exec.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 += ipcbuf.h generic-y += irq.h generic-y += irq_regs.h generic-y += irq_work.h generic-y += kdebug.h generic-y += kmap_types.h -generic-y += kvm_para.h +generic-y += kprobes.h generic-y += local.h generic-y += mcs_spinlock.h generic-y += mm-arch-hooks.h -generic-y += mman.h generic-y += module.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 += sections.h generic-y += segment.h -generic-y += sembuf.h -generic-y += setup.h -generic-y += shmbuf.h -generic-y += shmparam.h -generic-y += signal.h -generic-y += socket.h -generic-y += sockios.h -generic-y += stat.h -generic-y += statfs.h generic-y += string.h -generic-y += swab.h generic-y += switch_to.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 += user.h generic-y += vga.h generic-y += word-at-a-time.h generic-y += xor.h -generic-y += kprobes.h diff --git a/arch/openrisc/include/uapi/asm/Kbuild b/arch/openrisc/include/uapi/asm/Kbuild index b55fc2ae1e8c..62286dbeb904 100644 --- a/arch/openrisc/include/uapi/asm/Kbuild +++ b/arch/openrisc/include/uapi/asm/Kbuild @@ -1,4 +1,31 @@ # UAPI Header export list include include/uapi/asm-generic/Kbuild.asm +generic-y += auxvec.h +generic-y += bitsperlong.h +generic-y += errno.h +generic-y += fcntl.h +generic-y += ioctl.h +generic-y += ioctls.h +generic-y += ipcbuf.h +generic-y += kvm_para.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 += setup.h +generic-y += shmbuf.h +generic-y += shmparam.h generic-y += siginfo.h +generic-y += signal.h +generic-y += socket.h +generic-y += sockios.h +generic-y += stat.h +generic-y += statfs.h +generic-y += swab.h +generic-y += termbits.h +generic-y += termios.h +generic-y += types.h +generic-y += ucontext.h From patchwork Sun Jul 9 18:32:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 107254 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2540405qge; Sun, 9 Jul 2017 11:35:41 -0700 (PDT) X-Received: by 10.99.125.25 with SMTP id y25mr11088272pgc.38.1499625341845; Sun, 09 Jul 2017 11:35:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499625341; cv=none; d=google.com; s=arc-20160816; b=jIV8g1pmsg2sqBbDWoECceOpoNoUSMtgm5krXicywfEsljHvHxkO4EaaNCOar/XuVz GkqTdW0+tDOW/R+vkDkMmuFN3pHdJmhyPozqJaK19Ly1C98buHrM6rbBnNQqTawFiFOa whi9o9jcBVjbe5ccFhtQJlPdKWKc5eEakVv+AEOZIWn1uao1UulUYazj8JIE9n5LBfvb 9K/06l06gbmlkfBRBtHyZNNj7JHu+331im4Mgrk/Scdouz/V4ZoJSAH6dCZlET8jvCZo pDVnktNYcvMeHFSK/nqBI2ZJJRkDXPAPRT+SOFlEFZm8kGb4xKUPFLKyGEIa9SJi0gEF Rx5Q== 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=fEA60sGQOeHcjloP96z2OFP5se9SijG+jOxSZLoRTvU=; b=h9HCPzUI3+0PGa2/fPGhTxq4DBILp6i7BdF2YxIg8qM2jnkR52soMjWCO/cm9hVxgu /16G8X3btdDitwgoxSZl1JR0rMYpTDtrv53+Y1VXMmuGI7BzcbYaDSITXLMb+8ECkEgh DEdECMoYdUP5dZ2fqgPiqAkjvEbllZgDtMtHOswaSjATSeXKxJoPPW7f6NrWtukIUr0S ATuU+YYzENsjXxyR2Eii9TqcAD7XSwtRxmtI2sijgt0gFwgKaX2S4c2lYlYvAeWHZZI3 QoqE5buGLYLExkrTcl1SluGuQhxACH1NcQAWNy5/RcO9ZyMVg/G8MffXycOw+Kk9Ws0l /Vmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.b=HtKipfxU; 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 s19si6500011pgj.265.2017.07.09.11.35.41; Sun, 09 Jul 2017 11:35:41 -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=HtKipfxU; 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 S1752812AbdGISdc (ORCPT + 25 others); Sun, 9 Jul 2017 14:33:32 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:45814 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752632AbdGISdY (ORCPT ); Sun, 9 Jul 2017 14:33:24 -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 v69IX2DG000353; Mon, 10 Jul 2017 03:33:18 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v69IX2DG000353 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1499625198; bh=fEA60sGQOeHcjloP96z2OFP5se9SijG+jOxSZLoRTvU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HtKipfxUHuejdlZdm5t/hi0cavxQKXmNc7ujlr5MhwRpltPRGOsHapWagLlwyrKNZ Eye4Vp/CAUgqBW6BqYBPtwOeUHQr05Yg1I6uSh1wvi15L1j20AjyHrf3IHyJa/kzmI xpv9V7Ctksd4uRJyEOdsMsyw/5lrfy9jh//o8hbCvAEgc/1F/o7128pp9Q8CmfFx6k hQ+2Ukwscw4eAgv1ascqbZsdb6qMRQCrVN/ny5vEAeHGg67fex+m18LStE0NWBfjrU hYz5pBoYqdGXGtfKlGymRqFisMET9m9yPpW7zT8J0lO3F2g/W+H6lNtihXzg6kAYp1 6bAIkmfu9+rCw== 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 20/28] parisc: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 10 Jul 2017 03:32:52 +0900 Message-Id: <1499625180-8067-21-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/parisc/include/asm/Kbuild | 7 +------ arch/parisc/include/uapi/asm/Kbuild | 4 ++++ 2 files changed, 5 insertions(+), 6 deletions(-) -- 2.7.4 diff --git a/arch/parisc/include/asm/Kbuild b/arch/parisc/include/asm/Kbuild index a9909c2d04c5..a41139575ab4 100644 --- a/arch/parisc/include/asm/Kbuild +++ b/arch/parisc/include/asm/Kbuild @@ -1,5 +1,3 @@ - -generic-y += auxvec.h generic-y += barrier.h generic-y += clkdev.h generic-y += current.h @@ -11,14 +9,12 @@ generic-y += hw_irq.h generic-y += irq_regs.h generic-y += irq_work.h generic-y += kdebug.h -generic-y += kvm_para.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 += param.h generic-y += percpu.h -generic-y += poll.h generic-y += preempt.h generic-y += seccomp.h generic-y += segment.h @@ -28,4 +24,3 @@ generic-y += user.h generic-y += vga.h generic-y += word-at-a-time.h generic-y += xor.h -generic-y += kprobes.h diff --git a/arch/parisc/include/uapi/asm/Kbuild b/arch/parisc/include/uapi/asm/Kbuild index 3971c60a7e7f..196d2a4efb31 100644 --- a/arch/parisc/include/uapi/asm/Kbuild +++ b/arch/parisc/include/uapi/asm/Kbuild @@ -1,4 +1,8 @@ # UAPI Header export list include include/uapi/asm-generic/Kbuild.asm +generic-y += auxvec.h +generic-y += kvm_para.h +generic-y += param.h +generic-y += poll.h generic-y += resource.h From patchwork Sun Jul 9 18:32:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 107257 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2541031qge; Sun, 9 Jul 2017 11:36:47 -0700 (PDT) X-Received: by 10.84.178.37 with SMTP id y34mr14477770plb.223.1499625407404; Sun, 09 Jul 2017 11:36:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499625407; cv=none; d=google.com; s=arc-20160816; b=dFi6I5afmKeNrLEQewP3hiETU42WAH2Ie47fYuvXTPQqD3ddqz1/sPEvdwsQqarCLP rCIWc9fle+yXD3t2Q9kkZXJn2Beh8/Xe0exPyze787Dj3eueFD1IWILy1qKRDHojoz6+ w6CLlhRpGyS+rSLtJa8F0U1jowJ2YTWjtFrPvHYlM7ACJo2S2UC6YSHwz+vNXY+p24nO KXuCf1lr4S4JAUKVzBno42mkAeypr0Dtg8kvWCJ5/R/21PGGDXqNmwdegenb72rCmd04 ucbQe6/qv/Tod0nHvziAaqJoyeAWafMwU2bHI4qbeLcVw7yt2SWVMauTplZYY23UZpK0 9/Bw== 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=iKoXuF4VtSlXU+CkWD86nMBVyW3HmndRwW3rdHVtmwA=; b=rKZH8nj2r+CqPy/cI3N8f2/8ko+aFA3fZvvpXPADq/WLvNXFiw8E8bDqiZYGNlWWpQ QkAqZAmE3R/F0uFYFcmzc1+ysOvC24icxWC9vpP4ziOCsCnGvnOJY0lXaUOQYr5R7J/m xoG9exrcdzu3Rp53/3/Gx8Fsf11/3gUjJAYs2BQruio4rcSwjIOjzz0I9OQuLKMqd0ln Q5dRQx42OG7xEliuU/U9o+x06dBL4rRWavuMs0HilnL+iokvICmhnoZYryiDM3S27ZJO VK5R4q26c5LD+lqR2GK/a07Rpy9B9MuofAR9j6uyxBD03WqhRp5zPdzLrX0rOIwYWzqO 0XfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.b=rS6H2yX5; 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 b8si7226065plk.87.2017.07.09.11.36.47; Sun, 09 Jul 2017 11:36:47 -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=rS6H2yX5; 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 S1753248AbdGISgS (ORCPT + 25 others); Sun, 9 Jul 2017 14:36:18 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:45820 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752643AbdGISdY (ORCPT ); Sun, 9 Jul 2017 14:33:24 -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 v69IX2DH000353; Mon, 10 Jul 2017 03:33:18 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v69IX2DH000353 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1499625198; bh=iKoXuF4VtSlXU+CkWD86nMBVyW3HmndRwW3rdHVtmwA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rS6H2yX5Bk6Y3TjGEsLBstJV9jjiN7fb41DQCANdO+5kBO28hVPq4Ze4Mf44OEpF/ /jFIb721FgaxRQBkM8LLIdtNw3cvaZDx5JU8Sd/chrWew6eg/K6rNodu+MXpnW/wHg vREWBkarmmZkPtYig0okYjyh13F0Cf+irbRe7JHfa9moK40uoA9fvWxLe7Tq2e6CEM 3hpF0gYwrRfONJ6qn6hx7p+/3+KyciJoxMgo/zbBUga1Nws5ck9fcJvQ0dNfH3T2Cq DRfsrSAM+5xWqWHhZbqsZC/GAf0YZhD7EJD9aKkOsrV0KZB1ec/IsMU8Yy4MWaO7S7 M4hDvkEsoQalQ== 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 21/28] sh: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 10 Jul 2017 03:32:53 +0900 Message-Id: <1499625180-8067-22-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. Signed-off-by: Masahiro Yamada --- arch/sh/include/asm/Kbuild | 19 ------------------- arch/sh/include/uapi/asm/Kbuild | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 19 deletions(-) -- 2.7.4 diff --git a/arch/sh/include/asm/Kbuild b/arch/sh/include/asm/Kbuild index 590c91ae7541..1a6f9c39feef 100644 --- a/arch/sh/include/asm/Kbuild +++ b/arch/sh/include/asm/Kbuild @@ -1,39 +1,20 @@ - -generic-y += bitsperlong.h generic-y += clkdev.h generic-y += current.h generic-y += delay.h generic-y += div64.h generic-y += emergency-restart.h -generic-y += errno.h generic-y += exec.h -generic-y += fcntl.h -generic-y += ioctl.h -generic-y += ipcbuf.h generic-y += irq_regs.h generic-y += irq_work.h -generic-y += kvm_para.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 += param.h generic-y += parport.h generic-y += percpu.h -generic-y += poll.h generic-y += preempt.h -generic-y += resource.h generic-y += rwsem.h -generic-y += sembuf.h generic-y += serial.h -generic-y += shmbuf.h generic-y += sizes.h -generic-y += socket.h -generic-y += statfs.h -generic-y += termbits.h -generic-y += termios.h generic-y += trace_clock.h -generic-y += ucontext.h generic-y += xor.h diff --git a/arch/sh/include/uapi/asm/Kbuild b/arch/sh/include/uapi/asm/Kbuild index b55fc2ae1e8c..e28531333efa 100644 --- a/arch/sh/include/uapi/asm/Kbuild +++ b/arch/sh/include/uapi/asm/Kbuild @@ -1,4 +1,22 @@ # UAPI Header export list include include/uapi/asm-generic/Kbuild.asm +generic-y += bitsperlong.h +generic-y += errno.h +generic-y += fcntl.h +generic-y += ioctl.h +generic-y += ipcbuf.h +generic-y += kvm_para.h +generic-y += mman.h +generic-y += msgbuf.h +generic-y += param.h +generic-y += poll.h +generic-y += resource.h +generic-y += sembuf.h +generic-y += shmbuf.h generic-y += siginfo.h +generic-y += socket.h +generic-y += statfs.h +generic-y += termbits.h +generic-y += termios.h +generic-y += ucontext.h From patchwork Sun Jul 9 18:32:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 107251 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2540183qge; Sun, 9 Jul 2017 11:35:20 -0700 (PDT) X-Received: by 10.84.198.129 with SMTP id p1mr14063632pld.120.1499625320367; Sun, 09 Jul 2017 11:35:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499625320; cv=none; d=google.com; s=arc-20160816; b=TtqljHbK6UrAub23yS+bzqBQyoCbLTpGXaIr/3TBS/Yw1c0ItSRNhMaYk1cH8itzmw QNFHuts2i54Ox2s07RAYk53AA7OFidcyFmDU/Fms0gGLGz9ebgQXYAzrG8iDz4EJ6Xsd /V5EDY/BQL85E83hhBWgQDIHZKCGhxhVT0qX8V918IG2p31Tl4wnEbsNohPADtn9lNYL MPmiC+Dy4wqgQedApUpRkM1saG8kewGTw/EITPl+EszWrFItmxF1sjlk/1vQxYcRkzG1 Gu7UEWnOHswapwGGtX5uYVoxHxVymtE/X7sizkkv5xj2zf4XHnJGSnXtWDz7SMV4hQAT 39jQ== 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=ezU6Qo9XM8+ahWgdqfXMF0fIfFlcqJ6tyykDcFooxg4=; b=aPCco5c7M6qWSEE9UQ0kZ/j6mr1kM77RTynsMpthmZ7kNj185znz3E7Pwq42V9LoID 2mM3OB/6U5wXWbrRhCswUb2mPoCbv7M4r1gR7bNS4STuaKLluw6571+g6K5qiWpKeuu0 Mxub3mRr7aBuZWarGBbSydV351bzT3fZSgIuFWGEP16j0twJd8kQrgwYCu/KdDMW7w0e OZRG8RK/sMC9ZRLm8TQLA19bCd/7p9tARTkOnpp/RxX+tC1eHoEqu2wC4S7wqULTRAK/ 41R1IJ0ZK+4CfjN7EGUjFsZcG+CR3V7wXZvdLMWTVDXCOZxnSvJDlluV2GlwzcS4dcvp ueRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.b=T1jOgtSY; 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 m4si6108883pgs.108.2017.07.09.11.35.20; Sun, 09 Jul 2017 11:35:20 -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=T1jOgtSY; 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 S1752571AbdGISdg (ORCPT + 25 others); Sun, 9 Jul 2017 14:33:36 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:45812 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752624AbdGISdY (ORCPT ); Sun, 9 Jul 2017 14:33:24 -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 v69IX2DI000353; Mon, 10 Jul 2017 03:33:19 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v69IX2DI000353 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1499625199; bh=ezU6Qo9XM8+ahWgdqfXMF0fIfFlcqJ6tyykDcFooxg4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=T1jOgtSYk0N0KrGa8/KL2njn39Z6EqkOHzq6AecePbCVIyUfonEft5kiSuHpEKrdf tIfs6MuPTbabfnEw2d9NVfbkhqxxtqAffxi/FBTOGpaMmjCRqlUQT+nd3hHTERfGfy voheAFbxOxYP6V/CPnWVaxPArtPHcVsioBGY0+utu7RDMo5XXi+3aQCa8uPFzamDdC rlhCln3Gf9J0Msqm79+GTe0N07wMDQs7p1TUiq6ZOJAhjBoTZyv0E+waUY+3U1TTqB Tkpm4SitmgK0Vk1J/83Y2dX9bsfU80c+u7/ukPZLVTRSdNMXBtXzvFdKAqR7jO4Spj FxLSd4wsQ8Mgg== 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 22/28] sparc: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 10 Jul 2017 03:32:54 +0900 Message-Id: <1499625180-8067-23-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. Signed-off-by: Masahiro Yamada --- arch/sparc/include/asm/Kbuild | 1 - arch/sparc/include/uapi/asm/Kbuild | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) -- 2.7.4 diff --git a/arch/sparc/include/asm/Kbuild b/arch/sparc/include/asm/Kbuild index e9e837bc3158..80ddc01f57ac 100644 --- a/arch/sparc/include/asm/Kbuild +++ b/arch/sparc/include/asm/Kbuild @@ -18,5 +18,4 @@ generic-y += preempt.h generic-y += rwsem.h generic-y += serial.h generic-y += trace_clock.h -generic-y += types.h generic-y += word-at-a-time.h diff --git a/arch/sparc/include/uapi/asm/Kbuild b/arch/sparc/include/uapi/asm/Kbuild index b15bf6bc0e94..2178c78c7c1a 100644 --- a/arch/sparc/include/uapi/asm/Kbuild +++ b/arch/sparc/include/uapi/asm/Kbuild @@ -1,2 +1,4 @@ # UAPI Header export list include include/uapi/asm-generic/Kbuild.asm + +generic-y += types.h From patchwork Sun Jul 9 18:32:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 107247 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2539309qge; Sun, 9 Jul 2017 11:34:04 -0700 (PDT) X-Received: by 10.99.103.7 with SMTP id b7mr11465768pgc.2.1499625244240; Sun, 09 Jul 2017 11:34:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499625244; cv=none; d=google.com; s=arc-20160816; b=QlmTa6B/zQv3TwocLHXkq6M3DWRei5eW1EazaHyDeP7/2FtOofbVrNht5WTo4CM7aN +VLhCyoISKkN9bOV4ZW6fUSBzGQ0pqm6/1zja7/1WyI1eDHHDyLBNxnDxUJSY2cbITi6 Bz1g8PPfKrl1ErCX9VF1UMFukagEuPrP0dJh8feqhAPOsqrtVOEb89DOoAcim8wJEpBW dFwlslHcClA5LUY9ucHr1ukBIXLtdC59cNoh/bmmw62T7z7OfQyGhu4vn+9PW/ADK5Ta tynve22ZXA6nDnaaX0XDUmeHzBhCS/oxpnsR0I3habQoi5lvOvlcotiOBQ5L+mSlw5J2 /uKg== 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=zCtB0vr1eZSDRlrUdjnxQOgxdHMPb+3a+7bNVCTdMQY=; b=VALESg3SkNikDBDdQoSqwDtdHa73jIWli3/oMRRIY0SWvnMMc1s/h+6eShYItiTQDZ 4UtZEc4JquT67qTVwzeGIVXoPQVA4PX3MXc5upawhd7ojHflSqew5NPsaGxhc8vm2ZvP LBIbH7SD5fyb0XL82oiy/xUZwHBFu+mZAbvl43q6nEUcJviIoP6zFr9v4gsWwkvlEJvp 0JhxUmG1k3AzXZWQ06V+Mlr/eUsyCUR3cBtRknalHc44Rt8zMH1Ja+HNZaErVvus47Uf CqNWZz4zNDKC5qo+JbtvSJUJNfsRYjnIU3R2IDFqxFBflcUPpXU30eaz4JNfis3/i+E/ I8Gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.b=UMp2bY3x; 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 x1si7286103plb.522.2017.07.09.11.34.03; Sun, 09 Jul 2017 11:34:04 -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=UMp2bY3x; 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 S1753222AbdGISdn (ORCPT + 25 others); Sun, 9 Jul 2017 14:33:43 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:45817 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752642AbdGISdY (ORCPT ); Sun, 9 Jul 2017 14:33:24 -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 v69IX2DJ000353; Mon, 10 Jul 2017 03:33:19 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v69IX2DJ000353 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1499625199; bh=zCtB0vr1eZSDRlrUdjnxQOgxdHMPb+3a+7bNVCTdMQY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UMp2bY3xTppYRQAr9o2hEGYtFdRbU87NmRMScXGgOv8bCgc/vcZwz4CKpZIyhnxRD 4WvP9+PpnGhq2BJ9ORciglKBZL/OZ7UQf09m/CwJx2NeUh8b8E6CHx9ljkTas2kfoV XaVmrxYmowPNtD5LjErzXDIRLFM8PB7941NNQCY/dSOOG/VDoTPuKkQV56G38qi8CN BSapQIT3UUpBTXlkDk6WJ6yIhAydEH01AfPMPHiRjJKQi7iPkwas8cS7YnIo/Ll0fC tn7kQKr+vEwElOnO0Da56pQlkTNYiyOJTAEPOFwPYeIS3z/mN9fhrZj7TRVE39csH7 awqgrVcSkyX8Q== 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 23/28] tile: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 10 Jul 2017 03:32:55 +0900 Message-Id: <1499625180-8067-24-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. Signed-off-by: Masahiro Yamada --- arch/tile/include/asm/Kbuild | 19 ------------------- arch/tile/include/uapi/asm/Kbuild | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 19 deletions(-) -- 2.7.4 diff --git a/arch/tile/include/asm/Kbuild b/arch/tile/include/asm/Kbuild index 16f0b08c8ce9..d28d2b8932c7 100644 --- a/arch/tile/include/asm/Kbuild +++ b/arch/tile/include/asm/Kbuild @@ -2,37 +2,18 @@ generic-y += bug.h generic-y += bugs.h generic-y += clkdev.h generic-y += emergency-restart.h -generic-y += errno.h generic-y += exec.h generic-y += extable.h generic-y += fb.h -generic-y += fcntl.h generic-y += hw_irq.h -generic-y += ioctl.h -generic-y += ioctls.h -generic-y += ipcbuf.h generic-y += irq_regs.h generic-y += local.h generic-y += local64.h generic-y += mcs_spinlock.h generic-y += mm-arch-hooks.h -generic-y += msgbuf.h -generic-y += param.h generic-y += parport.h -generic-y += poll.h -generic-y += posix_types.h generic-y += preempt.h -generic-y += resource.h generic-y += seccomp.h -generic-y += sembuf.h generic-y += serial.h -generic-y += shmbuf.h -generic-y += shmparam.h -generic-y += socket.h -generic-y += sockios.h -generic-y += statfs.h -generic-y += termbits.h -generic-y += termios.h generic-y += trace_clock.h -generic-y += types.h generic-y += xor.h diff --git a/arch/tile/include/uapi/asm/Kbuild b/arch/tile/include/uapi/asm/Kbuild index 0c74c3c5ebfa..5711de0a1b5e 100644 --- a/arch/tile/include/uapi/asm/Kbuild +++ b/arch/tile/include/uapi/asm/Kbuild @@ -1,4 +1,23 @@ # UAPI Header export list include include/uapi/asm-generic/Kbuild.asm +generic-y += errno.h +generic-y += fcntl.h +generic-y += ioctl.h +generic-y += ioctls.h +generic-y += ipcbuf.h +generic-y += msgbuf.h +generic-y += param.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 += socket.h +generic-y += sockios.h +generic-y += statfs.h +generic-y += termbits.h +generic-y += termios.h +generic-y += types.h generic-y += ucontext.h From patchwork Sun Jul 9 18:32:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 107245 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2539090qge; Sun, 9 Jul 2017 11:33:44 -0700 (PDT) X-Received: by 10.84.245.9 with SMTP id i9mr5072212pll.284.1499625223953; Sun, 09 Jul 2017 11:33:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499625223; cv=none; d=google.com; s=arc-20160816; b=INxJ8AfguPPUoDO8Jl/ecZ5KTnaIG1Oqk1lB63mlt+NLlCIoSW50CRBAwkrcTfxdty rgc1kGk6HtdaZvcZJfxBMNJlGwRPwfwbkMVTM7xxLqRIk8AzZCs7+djffsKE0T6auxL4 Eg8714+An8V5p4CWEFlfEKupqit+EUtbDlrMuPyLK/S1Yy9Vug1zd2K0iZaZxPLvq2E/ r3UQ+aeBDEC6P1SAywMSn4ajvC454PlsXK8axeFkeKo/6R5cKw1PxG/JuigUVKhRN3BR GZCgOJS08ANo6CYgXDZ73SdUrn6TKAvY/RfpeHOxfWWZ9+sz1AkXTByTJAXRyBrUB4Pl 8pgQ== 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=iFxzNJa7vrx4ptUsvCVg+qqODJo4/5xFi6eiETZfMuw=; b=WQUhF5uq0Jla+chdBoLROrWS4uKYmQ4SYDWuGZEE5GMs13TsaRnOP2SJxtvSCxe3yn EtvJblgYrSKSFFOSwHzhul2IwArNR+94XxYFLrOccGNOwJ/U+7vGiZJc5G04OPPerEa4 2A2Jw/OHh3jySVND7KS6UnU5GEz5xQS11H7F5zLsWrFlWRiaqtx61+kk0EXH6OSNTWHR X3N3W9ZGEWY/uQArDjjYvNSj0/W4Z4EtmJSIjwbqtMztzYX0Z/RWZI0b0nDhvP81t1Ob 4Cq0VCidPQnLHX3UoI6z3J0t3VhumsRv2I9razlrXVSj+/DzA41lDV9co22RtBorH6K/ u+6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.b=YS/EAu7Q; 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 n24si6647366pgd.129.2017.07.09.11.33.43; Sun, 09 Jul 2017 11:33:43 -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=YS/EAu7Q; 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 S1753188AbdGISdk (ORCPT + 25 others); Sun, 9 Jul 2017 14:33:40 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:45822 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752641AbdGISdY (ORCPT ); Sun, 9 Jul 2017 14:33:24 -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 v69IX2DK000353; Mon, 10 Jul 2017 03:33:20 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v69IX2DK000353 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1499625200; bh=iFxzNJa7vrx4ptUsvCVg+qqODJo4/5xFi6eiETZfMuw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YS/EAu7QZrTF8T9lXGTjkx3RhCwx0vLsIeiHWC543e0kUaIEQCLLCpVDo8gwtYFI7 IOVF322ANaTqQvuS3s3HKhmnfSLq+qd46Wk1wXZpG892CiMZ1qWZ3ye1hgOAC7f62O 9o4UFkDjjdax5Sv84UgGb45w3Mf/W3z113ytRn26MX2jsRFDMh3cytULVSrUKm3sxr H6tzFAYiXrwsx0xNvOPFfYZ3IB66ffnoEm6ZlbLbNnx/7AHGv0bIflEBW1/eBBFiCE x/DXqF0kZwk8dZxkgjeRaQdah5DnSf/MaYPdsU1pFqJWkH3I0zg7BPfK8aU0DxJzMs uftBOoURv5c0A== 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 24/28] unicore32: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 10 Jul 2017 03:32:56 +0900 Message-Id: <1499625180-8067-25-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/unicore32/include/asm/Kbuild | 30 +----------------------------- arch/unicore32/include/uapi/asm/Kbuild | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 29 deletions(-) -- 2.7.4 diff --git a/arch/unicore32/include/asm/Kbuild b/arch/unicore32/include/asm/Kbuild index 7a53a55341de..fda7e2153086 100644 --- a/arch/unicore32/include/asm/Kbuild +++ b/arch/unicore32/include/asm/Kbuild @@ -1,66 +1,38 @@ - generic-y += atomic.h -generic-y += auxvec.h -generic-y += bitsperlong.h generic-y += bugs.h generic-y += clkdev.h generic-y += current.h generic-y += device.h generic-y += div64.h generic-y += emergency-restart.h -generic-y += errno.h generic-y += exec.h generic-y += extable.h generic-y += fb.h -generic-y += fcntl.h generic-y += ftrace.h generic-y += futex.h generic-y += hardirq.h generic-y += hw_irq.h -generic-y += ioctl.h -generic-y += ioctls.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 += mcs_spinlock.h generic-y += mm-arch-hooks.h -generic-y += mman.h generic-y += module.h -generic-y += msgbuf.h -generic-y += param.h generic-y += parport.h generic-y += percpu.h -generic-y += poll.h -generic-y += posix_types.h generic-y += preempt.h -generic-y += resource.h generic-y += sections.h generic-y += segment.h -generic-y += sembuf.h generic-y += serial.h -generic-y += setup.h -generic-y += shmbuf.h -generic-y += shmparam.h -generic-y += signal.h generic-y += sizes.h -generic-y += socket.h -generic-y += sockios.h -generic-y += stat.h -generic-y += statfs.h -generic-y += swab.h generic-y += syscalls.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 += user.h generic-y += vga.h generic-y += word-at-a-time.h generic-y += xor.h -generic-y += kprobes.h diff --git a/arch/unicore32/include/uapi/asm/Kbuild b/arch/unicore32/include/uapi/asm/Kbuild index 1c44d3b3eba0..759a71411169 100644 --- a/arch/unicore32/include/uapi/asm/Kbuild +++ b/arch/unicore32/include/uapi/asm/Kbuild @@ -1,5 +1,32 @@ # UAPI Header export list include include/uapi/asm-generic/Kbuild.asm +generic-y += auxvec.h +generic-y += bitsperlong.h +generic-y += errno.h +generic-y += fcntl.h +generic-y += ioctl.h +generic-y += ioctls.h +generic-y += ipcbuf.h generic-y += kvm_para.h +generic-y += mman.h +generic-y += msgbuf.h +generic-y += param.h +generic-y += poll.h +generic-y += posix_types.h +generic-y += resource.h +generic-y += sembuf.h +generic-y += setup.h +generic-y += shmbuf.h +generic-y += shmparam.h generic-y += siginfo.h +generic-y += signal.h +generic-y += socket.h +generic-y += sockios.h +generic-y += stat.h +generic-y += statfs.h +generic-y += swab.h +generic-y += termbits.h +generic-y += termios.h +generic-y += types.h +generic-y += ucontext.h From patchwork Sun Jul 9 18:32:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 107244 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2539082qge; Sun, 9 Jul 2017 11:33:43 -0700 (PDT) X-Received: by 10.84.149.197 with SMTP id a5mr14101097plh.3.1499625223178; Sun, 09 Jul 2017 11:33:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499625223; cv=none; d=google.com; s=arc-20160816; b=yuGe18TzSB66SDOrCjOs/rgOHG4CvlcwW8bc6zlBj10n3eCf9/p33JcCEXZHRXQFDm Zpvrw9UCq3/1ZCvfjcVt+36gfZPP0Smbv+o3TAeKqzXQlBRhG+jk0wqDZ90D1wECE1+h yaxfczaHy4iiqRu43r8y6N06aG2vhoCgHOIB1YHpLean7Gzx2KUYcO1ilMfoUZhTVf9A CtBfWUe22u2Xa8Dd6yyMUN5Gl3RG6R2OYo1jngZY4MnAxF1SKgzAkWY1d5gF1LA4wx6A WVLiiiLo6AQwnlB2eMBK8dCvfFnTzeyIE1ura0wp5iLIy0PLbHoq2hCxJMXi6RT5XdXB JKEg== 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=rEAnqR4wC2Y8xCgxgxFNpbjkIDfMmj+c5nRulpzYpVU=; b=YdRyGoypa5SIivWfykseUATBcpsMHVF31NXdP1r3nyGkFZ1V9rLsKGKZApaj8YhF3z inlR0fWD+MHpOt9g1AluGwKdQw6zmdsL3+Wph6JAQMmQh/xq7G88Sm0ueugEplyLKgrZ 9OPXVA/nqqnrK6jfstafl7lSlrMYXS8TBg0RxDsehv0M/0OXxjP4dBmZqvHWRmR94+Lz yIMaHU00gvFzfGozNbd0vdUYxa05/J0NMHLCMCT0dhfOe0C9164ol3D7wWzvdBRB9JzO 7UsS3FSdd2Dbfc/juMGIYiOZn73w2i9Qkx4TpFZYyaBTL81zbIWgN+PESKQAG1rwFX+E ZL8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.b=nG0kJW4a; 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 n24si6647366pgd.129.2017.07.09.11.33.42; Sun, 09 Jul 2017 11:33:43 -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=nG0kJW4a; 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 S1753171AbdGISdj (ORCPT + 25 others); Sun, 9 Jul 2017 14:33:39 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:45818 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752629AbdGISdY (ORCPT ); Sun, 9 Jul 2017 14:33:24 -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 v69IX2DL000353; Mon, 10 Jul 2017 03:33:20 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v69IX2DL000353 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1499625200; bh=rEAnqR4wC2Y8xCgxgxFNpbjkIDfMmj+c5nRulpzYpVU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nG0kJW4a9b/XzAkhBlP86W/a6NkOt9spl62ZXWlr6CXi38y6e//XQibL/5UXHqibp NsHw142QI6Yx2hd4aBkI+hngDnj72gtXjNZApvWCLo2YBTLsTnVJE6aCmE7BH5FhSt 1a7O4XolBNVLw1Il6QIbjXM8zFwFtktQqIhqY6e3//1Bfzq96K08jXvIiFRSyImBeA +oYr+S8d8Q4iwdWuxEON90qrHp8NHrz28eEqLlQpOo/kiHhXQHTkaAsVsCGVVBW/Cq LJkiwTxEpQCGgv/LiEyXoinWfISZeX/CV1n/ZJGUblKMci1ht5WltRXL5t6zEHWmQR lSXVQR8Mah3rA== 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 25/28] xtensa: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 10 Jul 2017 03:32:57 +0900 Message-Id: <1499625180-8067-26-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/xtensa/include/asm/Kbuild | 10 +--------- arch/xtensa/include/uapi/asm/Kbuild | 9 +++++++++ 2 files changed, 10 insertions(+), 9 deletions(-) -- 2.7.4 diff --git a/arch/xtensa/include/asm/Kbuild b/arch/xtensa/include/asm/Kbuild index 30f6290109d4..c04efde775a5 100644 --- a/arch/xtensa/include/asm/Kbuild +++ b/arch/xtensa/include/asm/Kbuild @@ -1,20 +1,16 @@ -generic-y += bitsperlong.h generic-y += bug.h generic-y += clkdev.h generic-y += div64.h generic-y += dma-contiguous.h generic-y += emergency-restart.h -generic-y += errno.h generic-y += exec.h generic-y += extable.h -generic-y += fcntl.h generic-y += hardirq.h -generic-y += ioctl.h generic-y += irq_regs.h generic-y += irq_work.h generic-y += kdebug.h generic-y += kmap_types.h -generic-y += kvm_para.h +generic-y += kprobes.h generic-y += linkage.h generic-y += local.h generic-y += local64.h @@ -22,13 +18,9 @@ generic-y += mcs_spinlock.h generic-y += mm-arch-hooks.h generic-y += percpu.h generic-y += preempt.h -generic-y += resource.h generic-y += rwsem.h generic-y += sections.h -generic-y += statfs.h -generic-y += termios.h generic-y += topology.h generic-y += trace_clock.h generic-y += word-at-a-time.h generic-y += xor.h -generic-y += kprobes.h diff --git a/arch/xtensa/include/uapi/asm/Kbuild b/arch/xtensa/include/uapi/asm/Kbuild index 4cb0d2f8868c..a5bcdfb890f1 100644 --- a/arch/xtensa/include/uapi/asm/Kbuild +++ b/arch/xtensa/include/uapi/asm/Kbuild @@ -1,3 +1,12 @@ # UAPI Header export list include include/uapi/asm-generic/Kbuild.asm + +generic-y += bitsperlong.h +generic-y += errno.h +generic-y += fcntl.h +generic-y += ioctl.h +generic-y += kvm_para.h +generic-y += resource.h generic-y += siginfo.h +generic-y += statfs.h +generic-y += termios.h From patchwork Sun Jul 9 18:32:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 107253 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2540389qge; Sun, 9 Jul 2017 11:35:40 -0700 (PDT) X-Received: by 10.98.21.9 with SMTP id 9mr41283877pfv.234.1499625340530; Sun, 09 Jul 2017 11:35:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499625340; cv=none; d=google.com; s=arc-20160816; b=ct7gnOJv+cXSHpyF/iYLtLnqX1DrCPU6LnyFVEZALBawXPMV8EiuN1MS37JODDntP+ xE5alThWJ7yxmoAKvNYwFbGIXn20Nlg+QyRkyIjivvPgrEN1nrBaKiJLrpxQh8uwRO8c ojDuw1Ersy8CSMKWdExwaBKojul9KEgwgX5FpnNup0Z/IUGLI7k/dPynoo8aW7zmAUEz r/jEwXuo1lBS3E5CXCqtydfRqlfjcRYKwUTNoyP5+uf86qLcvao/FsGMKU/+PxGjQma+ aqhNVIbHRoyFKSL2kI4BNtYYSGsaNi2GBxuSIi3mpPgYcgwe2gDtA6nKuNAC9Ea36XLK Vg+g== 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=mskxo1RU3ePQiYT3b2jRVmkBK3N+oqxDueUqr5+TH+M=; b=n29JRAUcwPfEe3byxDr0/u5EHhf2yzmNPiBUPMSw0Sdq+/ENxvhUnsLTijG860lSKh vQfLLJn7ZnPZCWHLPiNwZ5AoG1RjxsUX6RWw12Y7MrpsgkEmkn04lMF+ukX+oI+lvtEU fEhlpX+li8cDhVUKwttjdIiQAYCcxsjF4avccWrRLKiozvo3FKyTvKVpKFI1r5NnLKfN t3Q6djhhNwMfd/4p1BYvwSjBrjmETfQdj8fJpsPLwURrXRWmDfo5OIsJebEeX3v10/wF tKlnIXjr7CseLdg4oesnfHGh2lEVcbozlvkISqQEe8ePtHl76MmihoJhQ50DjA4w/iiW 4SdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.b=BmxIVNwJ; 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 s19si6500011pgj.265.2017.07.09.11.35.40; Sun, 09 Jul 2017 11:35:40 -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=BmxIVNwJ; 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 S1753022AbdGISdd (ORCPT + 25 others); Sun, 9 Jul 2017 14:33:33 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:45811 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752630AbdGISdY (ORCPT ); Sun, 9 Jul 2017 14:33:24 -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 v69IX2DM000353; Mon, 10 Jul 2017 03:33:21 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v69IX2DM000353 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1499625201; bh=mskxo1RU3ePQiYT3b2jRVmkBK3N+oqxDueUqr5+TH+M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BmxIVNwJo/mE4b9NM545Wdsh+59EP+flKQyeS0vAAZGuuVP4NjXTVsPCOVuZom85Z oomVlxfRl/LCbZQFELYOAnfybpRz1iZ5gVLg6jLes2bBtCUt5VwgC/5qQFvGn0Oiiw 55PawkD4ZnpEvrYKEsW24X0gDac0TVgwHESvMvuPS4W+rNUHnSp8mnRQyri7bUURqi hurhXFCi5TAAnNTsK2v2i8rU4vsT3UCAwDo+sJ8fYidGCjnsFAx3AsLSveDzFMrH/j Lwe39tSPME8Dm3CxhiDHoLVZNoTM6z5GCXAJWgYNK5gG9MZiKfgG893NYoOrk1wDjo xV7Ek6LxPDqyg== 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 26/28] kbuild: do not include old-kbuild-file from Makefile.headersinst Date: Mon, 10 Jul 2017 03:32:58 +0900 Message-Id: <1499625180-8067-27-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 Now asm-generic wrappers to be exported are all listed in arch/*/include/uapi/asm/Kbuild. "make headers_install" no longer depends on any Kbuild files outside uapi directories. Signed-off-by: Masahiro Yamada --- scripts/Makefile.headersinst | 5 ----- 1 file changed, 5 deletions(-) -- 2.7.4 diff --git a/scripts/Makefile.headersinst b/scripts/Makefile.headersinst index e9147f05ea77..e6343b34182a 100644 --- a/scripts/Makefile.headersinst +++ b/scripts/Makefile.headersinst @@ -40,11 +40,6 @@ ifeq ($(skip-inst),) kbuild-file := $(srctree)/$(obj)/Kbuild -include $(kbuild-file) -old-kbuild-file := $(srctree)/$(subst uapi/,,$(obj))/Kbuild -ifneq ($(wildcard $(old-kbuild-file)),) -include $(old-kbuild-file) -endif - installdir := $(INSTALL_HDR_PATH)/$(dst) gendir := $(objtree)/$(subst include/,include/generated/,$(obj)) header-files := $(notdir $(wildcard $(srcdir)/*.h)) From patchwork Sun Jul 9 18:32:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 107249 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2539326qge; Sun, 9 Jul 2017 11:34:05 -0700 (PDT) X-Received: by 10.84.224.206 with SMTP id k14mr13828312pln.72.1499625245417; Sun, 09 Jul 2017 11:34:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499625245; cv=none; d=google.com; s=arc-20160816; b=jzvHlhRETR5m9Uja58EePXkc6EijWklXrhZI3OISJGXVrcMCCHGPcB//J/oZDajLtk kXTIv52hk22w0hbuCOmf4SH4juTZsnm1qYddvPg9rndDYoR4Un3I7CJ+5S7w/sVEfgzz 8P5yBw3qFk8fV+piL5+wL5QSya2mAUDciUj2L83x3JONA+V0Ck+ieKL0k3YghAorDuX9 pfW6tlylPPtBXa//25l93rH+/IgNM62rTR0A/9omRCtdVsS6ljnkgljdfHdHJA2c8huY bFHahG+nNT8USFItvOpAffCkmR/NRs3Zp0ZnYWSIlvD47gvJ6lkUCnWs9b/3HLgGFXAG Zk0Q== 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=WL6zoRD/5Z4CrPIxbZxgxXebk9Le52HZGXld41diZ5I=; b=o88ePPnCKiPWZ0zMh36+/rbBpGpYoNIAtTn28KxvmwxiYWTekTcLJB5mY9i4H+ZhJw qYhpmvCh7KUgjfqkBBqbQ4qliQtkV87wnLo3i9OcR48kr90eDAoiglNTecVF0qGjnGc2 XUW8+5KWfkM1i89R2PHHCIMJmjDsYJdvbnmH575PjUjWCoc737dYMUgPumEpQHZp6LIH SY8EKGqfN5wY303z4xA47i7vWZOsDPPDHPjKOwqymOEAeHU/IhgZGQ1eIwX9itYSnQOD nioEBl80ppUhgjAvS+TgvEEeuoPlCA54aXvRs2bFGL2vuy6+rKpHPcIsyBntjwk2AWjH jcxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.b=K1izS5zZ; 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 x1si7286103plb.522.2017.07.09.11.34.05; Sun, 09 Jul 2017 11:34:05 -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=K1izS5zZ; 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 S1753259AbdGISd7 (ORCPT + 25 others); Sun, 9 Jul 2017 14:33:59 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:46201 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753223AbdGISd4 (ORCPT ); Sun, 9 Jul 2017 14:33:56 -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 v69IX2DN000353; Mon, 10 Jul 2017 03:33:21 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v69IX2DN000353 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1499625201; bh=WL6zoRD/5Z4CrPIxbZxgxXebk9Le52HZGXld41diZ5I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=K1izS5zZRTdzYf+fZuohgDzegWcvCANYI428f7rkcA8Zxw1rHl2a2pn+s9Ilzuii3 /u0oYZhrhl+zDozCEW3SKppddEwzJR/ewT/5sTX4gLHHqQUUApSEIvz1mf933ha1Zt j/31o6BXM1l/mGm96hvrfLV92Mje0N1/7lMKQTWnpnVtHYME5+7Ww8brWA+KJc7bUD XnCTuOmvPwpaDiruWIqmo0j4b+hP6xog6IR9pwTAzB1z1AbBSTkPTuOWcf1GerRJcP nPAxWJFtl0G6atOLVVC8nHrADG5RDfimNbsdsb51PmnyeZOiCCYmZF/KfDzUudtXSa qfS7eM0Ywwdlg== 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 27/28] kbuild: split exported generic header creation into uapi-asm-generic Date: Mon, 10 Jul 2017 03:32:59 +0900 Message-Id: <1499625180-8067-28-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 When we install headers, we are interested only in headers under uapi directories. Split out uapi-asm-generic target and make headers_install depend on it. It will avoid generating unneeded asm-generic wrappers. Signed-off-by: Masahiro Yamada --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) -- 2.7.4 diff --git a/Makefile b/Makefile index 70c414b15859..f75a93fa9975 100644 --- a/Makefile +++ b/Makefile @@ -456,10 +456,11 @@ ifneq ($(KBUILD_SRC),) endif # Support for using generic headers in asm-generic -PHONY += asm-generic -asm-generic: +PHONY += asm-generic uapi-asm-generic +asm-generic: uapi-asm-generic $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.asm-generic \ src=asm obj=arch/$(SRCARCH)/include/generated/asm +uapi-asm-generic: $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.asm-generic \ src=uapi/asm obj=arch/$(SRCARCH)/include/generated/uapi/asm @@ -1143,7 +1144,7 @@ PHONY += archscripts archscripts: PHONY += __headers -__headers: $(version_h) scripts_basic asm-generic archheaders archscripts +__headers: $(version_h) scripts_basic uapi-asm-generic archheaders archscripts $(Q)$(MAKE) $(build)=scripts build_unifdef PHONY += headers_install_all From patchwork Sun Jul 9 18:33:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 107248 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2539319qge; Sun, 9 Jul 2017 11:34:05 -0700 (PDT) X-Received: by 10.101.86.8 with SMTP id l8mr11083709pgs.271.1499625244912; Sun, 09 Jul 2017 11:34:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499625244; cv=none; d=google.com; s=arc-20160816; b=PMk9HaxEWaaTTzIwPLzqbQ0SYQmWSCsczIpZJP1/LVh368fwH81vSVUOPMrb8vUYlF 36IdQMrpihRO6Bn/XqQrfqmvA7muZz7xlSi7NxBXDU1YquJFI8KWwFq/9pjNEWf6mQyU O2MUQHGYCL1/9+YJdp40S9b/QUeeV8J22PeP2CTZrrJsJp8wZwIA0RJpx4WU6ZgP0hBL NHq3UmoMB3ckRswj3hoYYbG2RXMbFLjLaHP8WQWPPcIppqAD0pG/PvcCkVNkoOcC+b+h iWirivkv7zvkP4SIJP3iA+ISMR3EKKmr+FcnzYPH9BrqRLeXeCqNNrq2RikijL7bdOce AR/w== 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=peWCS59tCQhEyZbk3nYBv2PD0VdhxhcPqXE0DyKpiO4=; b=eHZEmQc1rR29lUtg+lmjE02Wf3ScXitnq0jasS1d207+axuK0RcQ7A3/p+pgeZJgne Asqt8GtIXsRvxSt8A4KkmmWQuovsqr2b+tprL4vkP7JXMBF5pW22NniiS9/oq2VbVGZ1 1ar9Adc05x3+QEQi8yaiP4Lqm2kX/LS2Bb55cHB5IEC+yFZoyqEJ/spVUneSSnFXv6UD sjE2YFlxrhfGxlhafpHbnrfIHhiECitDMWckckUk2I1wVkTHcRsvSzCYIArvKhfMUrRA IGaKTJeENYTeYHLpUrMwc/rq/o5yZL0WOtcSC2wnazSJ/k19Zjaq1wKIR7kcn7YLdbaS 5aWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.b=2PziYTzq; 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 x1si7286103plb.522.2017.07.09.11.34.04; Sun, 09 Jul 2017 11:34:04 -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=2PziYTzq; 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 S1753242AbdGISdy (ORCPT + 25 others); Sun, 9 Jul 2017 14:33:54 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:46202 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753223AbdGISdv (ORCPT ); Sun, 9 Jul 2017 14:33:51 -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 v69IX2DO000353; Mon, 10 Jul 2017 03:33:22 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v69IX2DO000353 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1499625202; bh=peWCS59tCQhEyZbk3nYBv2PD0VdhxhcPqXE0DyKpiO4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=2PziYTzqcZ1XlJT03jjM41N/jheLsg3Iyn42EGV/Q5vb6I6ijALTmLQzOv2aXBtWj sHiqkCy07Xy5/LYm9gfncOEjYV8R98lOLE2nm+FptppCEo8h79SN1eBp5boEOedrn9 mKtG6eyUy8aFw1scZ9iLVDyY7zKZkhp5dH0VAI64akzdXk/5juNLqxYm8mICVTa/CA t+DNYoRWGalroGoO/u1yELA9KZuzbvy9nTqM3VIR4NyLHZH/at+9tFQYVN09kqRrvp LbgEy3/Zbi0gKfHy6Ed2b3cZ/YOzyx5o0PozH4v5R017Sh/69fX4xeBKGZCYivmf2c tmpAFne6oRNlQ== 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 28/28] kbuild: remove wrapper files handling from Makefile.headersinst Date: Mon, 10 Jul 2017 03:33:00 +0900 Message-Id: <1499625180-8067-29-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 scripts/Makefike.headersinst creates asm-generic wrappers by itself because scripts/Makefile.asm-generic created some of exported wrappers outside uapi directories. Now this distortion has been fixed. scripts/Makefile.headersinst can simply copy wrappers created by scripts/Makefile.asm-generic. Signed-off-by: Masahiro Yamada --- scripts/Makefile.headersinst | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) -- 2.7.4 diff --git a/scripts/Makefile.headersinst b/scripts/Makefile.headersinst index e6343b34182a..343d586e566e 100644 --- a/scripts/Makefile.headersinst +++ b/scripts/Makefile.headersinst @@ -52,14 +52,8 @@ genhdr-files := $(filter-out $(header-files), $(genhdr-files)) install-file := $(installdir)/.install check-file := $(installdir)/.check -# generic-y list all files an architecture uses from asm-generic -# Use this to build a list of headers which require a wrapper -generic-files := $(notdir $(wildcard $(srctree)/include/uapi/asm-generic/*.h)) -wrapper-files := $(filter $(generic-files), $(generic-y)) -wrapper-files := $(filter-out $(header-files), $(wrapper-files)) - # all headers files for this dir -all-files := $(header-files) $(genhdr-files) $(wrapper-files) +all-files := $(header-files) $(genhdr-files) output-files := $(addprefix $(installdir)/, $(all-files)) ifneq ($(mandatory-y),) @@ -83,9 +77,6 @@ quiet_cmd_install = INSTALL $(printdir) ($(words $(all-files))\ cmd_install = \ $(CONFIG_SHELL) $< $(installdir) $(srcdir) $(header-files); \ $(CONFIG_SHELL) $< $(installdir) $(gendir) $(genhdr-files); \ - for F in $(wrapper-files); do \ - echo "\#include " > $(installdir)/$$F; \ - done; \ touch $@ quiet_cmd_remove = REMOVE $(unwanted)