From patchwork Mon Jun 12 03:26: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: 103598 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp14154qgd; Sun, 11 Jun 2017 20:33:07 -0700 (PDT) X-Received: by 10.84.217.134 with SMTP id p6mr54165609pli.192.1497238387868; Sun, 11 Jun 2017 20:33:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497238387; cv=none; d=google.com; s=arc-20160816; b=KkikVmI3haSkL3ebZ9AuVuZcBNAbOHRA/AEYuBrkCWxeZiOGNVBrzLu6zoRd/Y2jq9 XgPH6ikkLZsWj/7KR/hi/T2wE1ObWTjir2y3y59Roxute+MqENEip71CUicNvda7LgdI 3bCwqfGoTKX8Ys18oYlA0NTL1Dr4b4MCZQ78RgsUpaIIJ4d8ZQwoiN5Vf277ZP6oEmo+ YjsxAu2lD5PsM0AIMT6PxYEofgkfYcoLs2ahKhgx/JSvXpOLuymeiqgQsAIg8jS2D6pj pp2obuFw/cLqHY+9Go5jWAnzZOtJKrHY2TECNpo0kAdOgYyfxV8MWo6ZmYpfbpVK9piA oYRQ== 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=c5A+GaygmeCDXJNL9JZQdMf/roTUHXxLJRpjd5O9Lto=; b=M+rNB9a4ft/PcjCEYGsw/3YW2wePn7HJxhNW+xod6ZRKoBd9oe6pyd/7XpTTPTQHMF wysgVZbsfTVYJ3JUPL7FxXGBOS1Y/jKNG2SQ7DDrg+NPRyMh84lDhRDwwMWnUgFq+MCu P1TzumuxtAPcJd4Pz2gQt9iqaXTRqD0kyTtuvvFJyqgP+blpfUAI/d+4gY1ds13twzPZ hW+freQRJ6cIMxMcnIHojidLX24RNe2lnr8gQ2eI33zzue9+wCspp0Q1mn35hI1aUyH7 1UWeKyHK2SLTmvxnJcrtkD/RnRfKI+aKpUw4TK5vXF+FchWYVHChsMwYXHTGi/i243fN 3mXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com; 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 64si6149360plk.286.2017.06.11.20.33.07; Sun, 11 Jun 2017 20:33:07 -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; 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 S1752522AbdFLDcw (ORCPT + 25 others); Sun, 11 Jun 2017 23:32:52 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:63926 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752078AbdFLD2F (ORCPT ); Sun, 11 Jun 2017 23:28:05 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v5C3RXP1001077; Mon, 12 Jun 2017 12:27:37 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v5C3RXP1001077 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1497238057; bh=c5A+GaygmeCDXJNL9JZQdMf/roTUHXxLJRpjd5O9Lto=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=V6ZbwFY9SSrmOOC3dxHvO2ymec/lZMeRWN7Om7/5x+muNYzPvCtaWr3WO5hkJA+z4 0rZOG7Aod/JjP9eWs9jUccTudZBz98pw2JgeN1i/Dx9TeRppDQUVvc9BGwWEDe6yvi FMbf5dUQQCsa4DIZf5vS3+9R8roF05NeWnxeCfdbQJrvqAWu3CGedMZT1zcYsi9vv3 cLXAm+bXYYZBS9zeCWBCsi6a/AImftcK0hAlVImoNuTtLVLWdXDJR6HLNdZF5kkeYm 3s/JwmUrrMeEFShyoXI8GIAQB7w+EAeW4AXxeq4ydYRReAgZT2kWAnl9qW++iMIq8A QzWM/8TNZiTYw== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org, linux-arch Cc: Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org Subject: [PATCH 01/27] kbuild: remove useless $(gen) variable in Makefile.headersinst Date: Mon, 12 Jun 2017 12:26:55 +0900 Message-Id: <1497238041-7011-2-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497238041-7011-1-git-send-email-yamada.masahiro@socionext.com> References: <1497238041-7011-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 ce753a408c56..c801bc129635 100644 --- a/scripts/Makefile.headersinst +++ b/scripts/Makefile.headersinst @@ -31,9 +31,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) @@ -45,7 +42,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 Mon Jun 12 03:26: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: 103599 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp14281qgd; Sun, 11 Jun 2017 20:33:42 -0700 (PDT) X-Received: by 10.98.224.4 with SMTP id f4mr52403952pfh.72.1497238422774; Sun, 11 Jun 2017 20:33:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497238422; cv=none; d=google.com; s=arc-20160816; b=xcm0sWESYzFD/7mzUoZz6spH+UYarJypjlPu09bMwHKGWj46pYkpe8cArCZywvl0Kb Sr+iXyhRknAqnsTRiXoZKB22zJn4dz98X3kWC7g7+xZlglkqibVyq51s75e/qdo8TSK2 bHnbnsQG1rKz6Vs+DXzGW81BOylrtz9ycasV+qwyFOyZIDV8rPqxrfhmcc8WjLy4EmSJ 7WtaKboASdabbl1gnVum3fnzgh2DYOVmjYw+ezYvoO+i/KQnWDk67rm3XShTMwQ8+MjT 7RZ9ERgnfsOn/IivgXLiYjZtxVu1hYvwWyP50GI2ZNfBr+wFOx5cMCmFCfbO3QG22+D3 lAGw== 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=YaI/F+8t3JR25nyuM2zejgqJ+j2rSgLk65ZSlpRNAS4=; b=vzPuVR9hnsN6o2Qmmn/jgg4+wuocNJ0+nVyEMJYdXScrv+tw1WzG14tH9GqcSAQaps EI9fZP75y4Tf+xGltt1LwJlu1h6Nsmtbn4PLB/+E2cgqg000XaRzHyBgJ8y3MocF0kDX Qn8gWxUA4JUE5tA9Ik2gPSS34AA1Ne/zbXq+jNXhovd7RpV5f/m/n6hAzbX6a9B7JNjb d8HPVtJSlT/Lg85rv//PbGqXSOzmkC/u9IqlDxSgUG6Oozhm3SjdFudAgJ/N7oa0WCPc JgfrhpKbXETcJ/n1tgxeDfp+v/HflZspyN7YXvjofXZO4ylZq2JLtKalGHUDI8K/GKvj 7+Eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com; 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 c25si6092309pfd.312.2017.06.11.20.33.42; Sun, 11 Jun 2017 20:33:42 -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; 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 S1752418AbdFLDcu (ORCPT + 25 others); Sun, 11 Jun 2017 23:32:50 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:63932 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752119AbdFLD2G (ORCPT ); Sun, 11 Jun 2017 23:28:06 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v5C3RXP2001077; Mon, 12 Jun 2017 12:27:37 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v5C3RXP2001077 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1497238058; bh=YaI/F+8t3JR25nyuM2zejgqJ+j2rSgLk65ZSlpRNAS4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xNm15/u2FMQpTb5ZyCYQixtfgtlKi3yYDTbFRhY6HEvTxoE/m8S/3uQ1nzURDCD6k BW0PS7K6H4S0SY6Q4P1LTkXMjp+t10XN+UrnttGi1H9I7zw60ni6hIIEdOH1maqUPe 24l1Tk/u9e/0ELFchnCrEJ6mc0tTUG20Hif0Jm8YXsRyu/07qLvHyWBt+1mO0+nUda wsFZAFYNfJLHu+HztYozrmjAtzj5LfVFNUVMHZ+RLJqCM0hDetgBeagXrWCajb7eD0 Dcg3j/FRv8MUDSeaHT3m10tUBvoODIym9V0uV+f/xwpRf36WSqcXB2GB70O8yLNpnw ys2CMad+5m3Jw== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org, linux-arch Cc: Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org Subject: [PATCH 02/27] kbuild: fix comment about dst of headers_{install, check}_all Date: Mon, 12 Jun 2017 12:26:56 +0900 Message-Id: <1497238041-7011-3-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497238041-7011-1-git-send-email-yamada.masahiro@socionext.com> References: <1497238041-7011-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 63e10bd4f14a..298a096863a9 100644 --- a/Makefile +++ b/Makefile @@ -1141,7 +1141,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 Mon Jun 12 03:26: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: 103602 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp14346qgd; Sun, 11 Jun 2017 20:34:03 -0700 (PDT) X-Received: by 10.98.75.79 with SMTP id y76mr37131005pfa.39.1497238443337; Sun, 11 Jun 2017 20:34:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497238443; cv=none; d=google.com; s=arc-20160816; b=axtm/IZOzZI3s2ASH6cH0QStqLYyRy0CjJkcv0/txpd0LWjywqug2oTMEe0Sw9pFV2 5vxSlqvQSXpdfv+SOfHxnijFFhY3faCIBN9NAkl37/v12vYno/IQs2MxUzYckU0orWl7 uMo3TyK+O6tJMHmiKu5aNBj2iqU9kXQmqSWBC3M8s/a281xde4SN1Fj89dNaSRk89Kpm kZqrPSzN8o4Kf1e77hKChuAVeWdGjRn6BK3H+i6avVPaosD2DaYS+KBHFrw7iiwBfmWO 8qSYL+mSaQB1XboV1QfL9ZGwqzQvZ0I1qAJaKDxGBzI8kSKdMswV0IXPR67ci1yU3lyP lEYg== 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=2IqFyR8TiFz13yNvWqHgOKuSOYFBvtN6S4wus31neu4=; b=RA2hWCDPwrDU9Ov3LYVF+FbguBegVlMLIRdo0MvJJEoGiBgcpq4WjpxONZLI9CC7rw Exn7Egd0MB1hTXX94LCmLh8wi8u0PW7C43Vm2rT7xL472G4ASaQXYlH6MtO3gB6qzbf3 0I8OzZBlRSAJQVtLRY4jrkuVvAgQAV5yrqo52eMHVdA9usVenDffO2xRJv+HSnkmCPKh 1jaYT2eiiOOFh/LaBCjse+jjojB3QYOmMDByqaVwKJUrl1TvXCZXyCtSZI/gbU74ic0u nh85ITUh7KWRloaEputRFFEmZsXhbzTW/8707PMBNDBgUqptU+hhdbmi6kq+dWs2Ch9W 2ycA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com; 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 f5si5998038plm.398.2017.06.11.20.34.03; Sun, 11 Jun 2017 20:34:03 -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; 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 S1752401AbdFLDde (ORCPT + 25 others); Sun, 11 Jun 2017 23:33:34 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:63914 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752049AbdFLD2F (ORCPT ); Sun, 11 Jun 2017 23:28:05 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v5C3RXP3001077; Mon, 12 Jun 2017 12:27:38 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v5C3RXP3001077 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1497238058; bh=2IqFyR8TiFz13yNvWqHgOKuSOYFBvtN6S4wus31neu4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=q6+UDAVF4R8oKEYTCPbzF43N3EyAEyn/HjOLc+ByKEsaPdWtFF5JSny9G+kxAr/Wj tjYVeaTAYrz9jIQaiDCzFi0NMM8bqAnfx16fh05u+cPOVypsgzmdShp7U/zH7PkblC 43JwjaB3AZs2eFScLr60htDrWS/gagOmcany/bytDtLRwLCmngknjZ2n+ICdHvKw6h w9pF0yQ/H5S5YqpM47QlzmyK3Egq6TZsv1S13QR0g6iLLcqwXwPBoF92UbrRUGxULD DfPKMQFzvDaf5gebRWdGHo3FEsE1hDrx+e6LTCrW1kbRVM8nAtYubyqctsZmFSHLNZ pAs8IRaUI5rYg== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org, linux-arch Cc: Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org Subject: [PATCH 03/27] kbuild: pass dst= to Makefile.headersinst from top Makefile Date: Mon, 12 Jun 2017 12:26:57 +0900 Message-Id: <1497238041-7011-4-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497238041-7011-1-git-send-email-yamada.masahiro@socionext.com> References: <1497238041-7011-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 | 7 ++----- 2 files changed, 4 insertions(+), 7 deletions(-) -- 2.7.4 diff --git a/Makefile b/Makefile index 298a096863a9..1bb8c07db134 100644 --- a/Makefile +++ b/Makefile @@ -1162,7 +1162,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 @@ -1171,7 +1171,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 c801bc129635..b3135b76fac2 100644 --- a/scripts/Makefile.headersinst +++ b/scripts/Makefile.headersinst @@ -15,15 +15,13 @@ include scripts/Kbuild.include srcdir := $(srctree)/$(obj) subdirs := $(patsubst $(srcdir)/%/.,%,$(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. @@ -40,8 +38,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 Mon Jun 12 03:26: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: 103583 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp13150qgd; Sun, 11 Jun 2017 20:28:52 -0700 (PDT) X-Received: by 10.99.109.141 with SMTP id i135mr29877161pgc.103.1497238132680; Sun, 11 Jun 2017 20:28:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497238132; cv=none; d=google.com; s=arc-20160816; b=yUSCwZaRJ9IquLoFwN0Tj6mBBqcyJ1tfQlFn1qLJIpjDtWtNVP2nnvPeahx+o5T69j 1Lp+o9ZtVDmgKpisxXFoATzFFjS3Tmap5ImPs9qQy6ofHAkC/sB6DUDTvqJLuedwkeWe diq7yEdiD9LXS7tnKQG8DFO/WYAXFpKhhbS3/gFVUnJOrO1uNNWJqdAysdmuuLNyM7wY RoqHzKFdiQMGuyC3XasusA1QmkHPVD3IRw0SUnBZ5E9HwwAhL6evW1O4LCi6Zu0UkHNg 2nR1k7mhkgETcN2ca+PANvSfhsaIKZAgGiOf6GQPpgF4IMTGU3b2jGC++b57baL+M77R eqUg== 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=pILD20Z+SmwySTA4BYUUhhMGcEGjaByEl0xD3JzCfYI=; b=HnSWJtgw8qTgPzS7k4P7WHiTo+ToEjAclfRaR3EPKD6AyBIl8J0rStWx4o/azxSDr7 vYHEJtT3/0J1I+FdV21fxOvJIpSBKXHWIHGoBEPXIWZYzMeFtZqu2zdGGGqMLlz6Hh0z VaQYNYbvuIPOD8F1KjHILfPKvqpu//cfuOLKCRYVb8JgZoEFtrymlnBBdPx/YNp5WncH nDkNoW27GCd6jrYRg2qZsYVkybJChBpY0MWXj79Dvj8s+MlXZRIj1YqkZaKPTqdlNczw 3nQ46O1GDW8lKGx4fhpdvpCrYCgjzJ/UkeKGo9ts7c97AiwRJ+CA+WGNBM18KUEWSXxo IPhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com; 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 1si12043848pgs.356.2017.06.11.20.28.52; Sun, 11 Jun 2017 20:28:52 -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; 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 S1752290AbdFLD2l (ORCPT + 25 others); Sun, 11 Jun 2017 23:28:41 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:65063 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752269AbdFLD2j (ORCPT ); Sun, 11 Jun 2017 23:28:39 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v5C3RXP4001077; Mon, 12 Jun 2017 12:27:38 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v5C3RXP4001077 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1497238059; bh=pILD20Z+SmwySTA4BYUUhhMGcEGjaByEl0xD3JzCfYI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qhqYimIM2JzrIDmiPBzVNUyOK7hGs9d7/F+qp4E2bdTyBn+q0pxYfimmmwi0iHXkl bftHenKWFRbbYpDL6irmYX23uCnLB1Zef9sNRxT2ZViyykYg0t+fBpG90K53bIGlDL JSaJIFF2xDxkF3G8gIKZz+gRac3lPgYUwcVMaO2WNbhax/SQmHUE2b3QC4Q3xl2T6U Sn4IuFKigShxiwBDSnsc0q9/EVoU/OOkFkB9td+6zh+1EVi3Sp7OZ/StmzDQwVGuWB QW3wlFWrGRQbZuaExXST7DTRhH4dKVLk1Z0UaK1jm2STDFIVLD54f0OaobX1lPrDK2 1IwxNZiUgHYgg== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org, linux-arch Cc: Masahiro Yamada , Will Deacon , Catalin Marinas , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 04/27] arm64: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 12 Jun 2017 12:26:58 +0900 Message-Id: <1497238041-7011-5-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497238041-7011-1-git-send-email-yamada.masahiro@socionext.com> References: <1497238041-7011-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. scripts/Makefile.headersinst still need to deal with old-kbuild-file for headers listed in arch/*/include/asm/Kbuild, but actually exported. As the last work to finish de-coupling the uapi from kernel headers, move generic-y of exported headers to uapi/asm/Kbuild. For arm64, "generic-y += kvm_para.h" is doubled in asm/Kbuild and uapi/asm/Kbuild. So, the one in the former can be simply removed. Signed-off-by: Masahiro Yamada --- arch/arm64/include/asm/Kbuild | 17 ----------------- arch/arm64/include/uapi/asm/Kbuild | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 17 deletions(-) -- 2.7.4 Acked-by: Catalin Marinas 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 Mon Jun 12 03:26: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: 103586 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp13290qgd; Sun, 11 Jun 2017 20:29:31 -0700 (PDT) X-Received: by 10.84.229.76 with SMTP id d12mr52636881pln.164.1497238171720; Sun, 11 Jun 2017 20:29:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497238171; cv=none; d=google.com; s=arc-20160816; b=L8SPVEQMNL71K7jZgjA3SRRf66Nys5AsW55ihg9GradlnmhR/aH2xeKp6FoHC7zNXn VdKZeJEHTEdHtpm0f/kLYdadB+ldT6T1/r9GziUoFF3tVeTqOaxKV1ulYgK0VOMSgSVR ksGOidisLvX9ruUhPzOV8tHmLr/ubCZC6UQu5zZC9WLetDCcVyItTOMJFLN/Ba5lIL2T o9NvaZXtHHvjbKP41M9hnfS2mCrYvTqL1iTVC9OFSLOKW5VsRc++XBKeXk6NzRVXsbO3 E+jyhtaYk/x+gMLDVxYT+o+T/h31beHBTcee974C+FTcVHpWJABMqjUnUWSKLfPHwLrH fytQ== 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=kTIbqt1btjR3eajLSArmkB/8IZMRVnq4l7Ony06LrTI=; b=P3X/w9O186eqwBE697GS05mZvHYixuUtJVW1Oog/OxX61FNXfHHAnFho+5s9y6G3Nd M6CGnS8A6eImIl8IHD1KxcKivxrZpHh5Cq6FHVp0NM0lZmcP/JaPyyQPT3RNtgkyS+Dd T8Fc4BEyl2q2I0KqccgHF7/Jj6AQQu4ogrOOePVAb7u4BgbsL/n8cCxe1yo2XqqiKzHf TLSgP8D/nUdyVAd8aTaD8rKGyzrRp7Q/upR5K1j133Dr1IXJj8Y3gL1WuZ9Cu7hYvOwG 7HQ3Zn2PYONDG6LAP1//jALcArYfKFbWV2O59/5zLokH7RRExGuOiDBc7FxlKx0+ehiN wwDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com; 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 w13si6095706pfi.382.2017.06.11.20.29.31; Sun, 11 Jun 2017 20:29:31 -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; 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 S1752412AbdFLD3X (ORCPT + 25 others); Sun, 11 Jun 2017 23:29:23 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:16941 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752389AbdFLD3U (ORCPT ); Sun, 11 Jun 2017 23:29:20 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v5C3RXP5001077; Mon, 12 Jun 2017 12:27:39 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v5C3RXP5001077 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1497238059; bh=kTIbqt1btjR3eajLSArmkB/8IZMRVnq4l7Ony06LrTI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=q2uZkMkbyQwCQEG7GffiDczyGrHDDLrZ7+LrzwVeyNihtFZk5hUiXojl/nDbMZIMh kt0f3KQWXcTc/OTY8mI10eGtXbtdUgWIUeVUSnuLaCQuRUVBr6wCgYaXs07la6xUds YWx5BGGfs3mPHbXlxpI93rQd7A5lO8ATOkqSYJVaboZeAPlZ/6HM0elTkeWXReJOOI mFajtt5U/BHFMgddie/fYNApB26FTQLqBt1ZLShvM08jtf71rFsrqeRF73kDy4WSFj ZTl7VNsXwKyTYuxvrN0mVizsBNF7GPwwYrH4z0oUhXBMZ1aqOEBJ4/2dpzrfzJ6zLD xWHPED+9q/FdA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org, linux-arch Cc: Masahiro Yamada , Russell King , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 05/27] ARM: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 12 Jun 2017 12:26:59 +0900 Message-Id: <1497238041-7011-6-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497238041-7011-1-git-send-email-yamada.masahiro@socionext.com> References: <1497238041-7011-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. scripts/Makefile.headersinst still need to deal with old-kbuild-file for headers listed in arch/*/include/asm/Kbuild, but actually exported. As the last work to finish de-coupling the uapi from kernel headers, move generic-y of exported headers to uapi/asm/Kbuild. Signed-off-by: Masahiro Yamada --- arch/arm/include/asm/Kbuild | 17 ----------------- arch/arm/include/uapi/asm/Kbuild | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 17 deletions(-) -- 2.7.4 diff --git a/arch/arm/include/asm/Kbuild b/arch/arm/include/asm/Kbuild index 3a36d99ff836..721ab5ecfb9b 100644 --- a/arch/arm/include/asm/Kbuild +++ b/arch/arm/include/asm/Kbuild @@ -1,40 +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 += siginfo.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 607f702c2d62..b531c2786f27 100644 --- a/arch/arm/include/uapi/asm/Kbuild +++ b/arch/arm/include/uapi/asm/Kbuild @@ -1,6 +1,22 @@ # UAPI Header export list include include/uapi/asm-generic/Kbuild.asm +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 + genhdr-y += unistd-common.h genhdr-y += unistd-oabi.h genhdr-y += unistd-eabi.h From patchwork Mon Jun 12 03:27: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: 103584 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp13151qgd; Sun, 11 Jun 2017 20:28:53 -0700 (PDT) X-Received: by 10.84.217.213 with SMTP id d21mr54634777plj.45.1497238133117; Sun, 11 Jun 2017 20:28:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497238133; cv=none; d=google.com; s=arc-20160816; b=DvY1vPsLmKWkJcA3s2HSOEovc3DRb/bSutDn/ZShFiuTIdFL7ehWgQLVJllT8cse5d ylP+PaLPvrdmn0VW2gbNvFgVfzgcQ5v5+/LyyVikimw76BnU5WVhEM92rZvb0BgDVt8E X89GS7nrSVLQw38TQYooH51uqGPZehF9ZbPSCJ8ZNOzTqvvHpr5kkWjfXcuVIwippXQA GzqTtvuV0GL9erfbLu8D22EY8EBT/kOoTmPC438V0wDd6Zkc7b6rBtiWqG9kYoaIzYto S7fOozbTw7/FC/8VEqkFTToyoJ7PRes8APLUcNR8GpdubKtGCJMz9W4hJqzIJK88cXRZ YFCg== 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=h4pXQGegDZH2TTDtISXseRE11n7Peug+tXD37ONsgA4=; b=RXROl7NR6xGp7KydHvgK2T6YvyhRKtam1JPdd57KfbijNhgUkhNYRXJyhm9ZXY9yBM fJetR5tMntVSiHaBVJ7700iSS/YWOPi1oE3jiEBBMvc5JOyRDxFKz7eTCNmNO7GL4eV7 6mUQs+bsHa6/U388wm96MCCcVgXzBZDy8Tb/qx+nv9AJf2KkIPgISeZRE1jep0iI7WRg ZlkwMNdYh3mccOd5aO0hls1MuSGRDbxKkNxBUxCE4lIPxV4T37R2tXr09TYfGqF0joZo GkMZdEw56LSHxaJDu++uiDIRKThaChVTO2OIR7Skiwcz8KD9NYA6Dlu5ercRXSN6yqQu YYUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com; 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 1si12043848pgs.356.2017.06.11.20.28.52; Sun, 11 Jun 2017 20:28:53 -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; 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 S1752318AbdFLD2u (ORCPT + 25 others); Sun, 11 Jun 2017 23:28:50 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:65179 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752296AbdFLD2r (ORCPT ); Sun, 11 Jun 2017 23:28:47 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v5C3RXP6001077; Mon, 12 Jun 2017 12:27:40 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v5C3RXP6001077 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1497238060; bh=h4pXQGegDZH2TTDtISXseRE11n7Peug+tXD37ONsgA4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WvBouFjls0reoClAiNNH8CM2EFvSBG+s44TbwsJiTrdEzRwWhUlNTDb8Mm9uUaKSv hzJprbGaaRhTWoC1sxH+JJ5+Sx0gGudDtPkm0Aw2CBWyZhTUnj/XyXjqH8vtvvjrVR HWzn/yn1y/5yubPL1Muv4/KS+3Ef8d2fVBmxjYtFNUwtfbrACGpyPPnarWbFpMlT7f 20AVdwzHUU+Ar4fDTtb1WaSlbeg2cIcq86wTq6hIC0LPJjGGAyQID47VrlpfqvvKeE BR1gYZSLa9abtIJu+ayx6lY9i3/4nRfw8OXQ/+BXFo4fg8Ssewo7ij34SqxoWdt+fd lpqtDuJsZRF7w== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org, linux-arch Cc: Masahiro Yamada , linux-snps-arc@lists.infradead.org, Vineet Gupta , linux-kernel@vger.kernel.org Subject: [PATCH 06/27] arc: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 12 Jun 2017 12:27:00 +0900 Message-Id: <1497238041-7011-7-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497238041-7011-1-git-send-email-yamada.masahiro@socionext.com> References: <1497238041-7011-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. scripts/Makefile.headersinst still need to deal with old-kbuild-file for headers listed in arch/*/include/asm/Kbuild, but actually exported. As the last work to finish de-coupling the uapi from kernel headers, move generic-y of exported headers to uapi/asm/Kbuild. Signed-off-by: Masahiro Yamada --- arch/arc/include/asm/Kbuild | 25 ------------------------- arch/arc/include/uapi/asm/Kbuild | 26 ++++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 25 deletions(-) -- 2.7.4 diff --git a/arch/arc/include/asm/Kbuild b/arch/arc/include/asm/Kbuild index 7bee4e4799fd..353dae386b2f 100644 --- a/arch/arc/include/asm/Kbuild +++ b/arch/arc/include/asm/Kbuild @@ -1,52 +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 += 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 += 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 b15bf6bc0e94..fa6d0ff4ff89 100644 --- a/arch/arc/include/uapi/asm/Kbuild +++ b/arch/arc/include/uapi/asm/Kbuild @@ -1,2 +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 Mon Jun 12 03:27:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 103582 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp13149qgd; Sun, 11 Jun 2017 20:28:52 -0700 (PDT) X-Received: by 10.84.175.3 with SMTP id s3mr53299626plb.105.1497238132327; Sun, 11 Jun 2017 20:28:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497238132; cv=none; d=google.com; s=arc-20160816; b=pYS764wyjsO7eYzpNW89IZzID5fHl2NwTrvOpy0OrWVMjGOhLtZ+HqAKXTNslOscCG In/fLvV496oOrT2Y1TWTcvw/6hTmF50Vx8zpeH0eBvXoAPLjY9s4pzbb8pDKgTNMvKQy H2XVsd8lHFffeZoQbpodWB3S3Ma0HgI1/9GI1zgecCSe6KvCyOXgMuEkVaYaNxpyrKix JVTn6obmAGvGSQXlV8SCnYOFVXcwrfsovD9e2XwiSjnucWjcf0op5AbWA2yZuZIrc3Dj AMRKIjbvg2eW11G6YY0swL+kfvRICWlz6K2T935A81HPKSwtWT873KTg/Iqi79Z6Rlqp wpGQ== 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=ZyFJqx+mt7VHbIn7uLPFi/repbvD6n+tJKNJMDcYb38=; b=xzwWLOZcOjtEHB2K2wJhd7PsLC/Xq/sVcLGqfynw9dE/n/fFWuvPS364o4q+db+E6C FluEbhRnqhxUq1DPHg4msOAXOvn8uR9iOLtrGAvmtMZhzicqxpsq/Zd5ogMTwWzcCcj2 cwoeNJjF29PudpUG5RDHpwO9YqQg9p7Y6ShvN4n69/hmvzEgROItO/mnEmr6qYjTumLv dqZtd35CaYeTPlmzsb3CK5GzMN8GshYFrmIClpe08jXBFtOpyFyEu30F6twfy+R5I5gL 6JNbdbFwygXxm+4dAs/c/cO9FFNECeiMofVbIJbYmXEApSHc0PV6X4uqp+yuDzf1Fuj1 Fp1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com; 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 1si12043848pgs.356.2017.06.11.20.28.52; Sun, 11 Jun 2017 20:28:52 -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; 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 S1752265AbdFLD2d (ORCPT + 25 others); Sun, 11 Jun 2017 23:28:33 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:64483 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752224AbdFLD2b (ORCPT ); Sun, 11 Jun 2017 23:28:31 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v5C3RXP7001077; Mon, 12 Jun 2017 12:27:40 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v5C3RXP7001077 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1497238061; bh=ZyFJqx+mt7VHbIn7uLPFi/repbvD6n+tJKNJMDcYb38=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KebyHKiBMKks8pseoCrxB64GCH0rLcRcWk9gQnJJjsdmhED5klrVGsLS7n5qh4onq kFvzYXaq4eOrzP8ks54wkaQwxKMOCs73hMVmRyMGYFSEbBTIdeXojBkXPdqKc58QP/ ZF0WhBcjMTOXlgDFeFBrfIba8i2KGW5o6Ka60IbDIFf9ZJKJKr2kKNB8ti1cq/JZ2B l+klksLIXJFZoQQrZm4jWu/jMsi7laHRWlbzN1uqBy96VCm8WUyxJbqj6qR2YCsYw4 D+DVkGmupwYJSwELUuvXU+s9bMtJznUBPJ2zgMZUUlaJ7j50qJDC015TwEs3woKIp7 JxxyHvCcqvPtQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org, linux-arch Cc: Masahiro Yamada , Steven Miao , adi-buildroot-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: [PATCH 07/27] blackfin: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 12 Jun 2017 12:27:01 +0900 Message-Id: <1497238041-7011-8-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497238041-7011-1-git-send-email-yamada.masahiro@socionext.com> References: <1497238041-7011-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. scripts/Makefile.headersinst still need to deal with old-kbuild-file for headers listed in arch/*/include/asm/Kbuild, but actually exported. As the last work to finish de-coupling the uapi from kernel headers, move generic-y of exported headers to uapi/asm/Kbuild. Signed-off-by: Masahiro Yamada --- arch/blackfin/include/asm/Kbuild | 22 ---------------------- arch/blackfin/include/uapi/asm/Kbuild | 22 ++++++++++++++++++++++ 2 files changed, 22 insertions(+), 22 deletions(-) -- 2.7.4 diff --git a/arch/blackfin/include/asm/Kbuild b/arch/blackfin/include/asm/Kbuild index dc4ef9ac1e83..080cac9d6704 100644 --- a/arch/blackfin/include/asm/Kbuild +++ b/arch/blackfin/include/asm/Kbuild @@ -1,48 +1,26 @@ - -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 += 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 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 Mon Jun 12 03:27:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 103588 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp13634qgd; Sun, 11 Jun 2017 20:30:52 -0700 (PDT) X-Received: by 10.98.193.129 with SMTP id i123mr30788678pfg.138.1497238252591; Sun, 11 Jun 2017 20:30:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497238252; cv=none; d=google.com; s=arc-20160816; b=fkf/4yc7iXVO+OJz+tLi9cpzw+5qMVYcGQAnJIFVAIbQkCCDixBcUx/9rfcXjjn2w9 TVPO4n2QyeZxGcIBoAPkuvsv/r8uGw+NzomMyDpxbDOtBx8+GSSD/LlGgqWIP9B9egCq cTJETDTtJ/uHijkEOdJrZWjUeghg0Uy/z1O4LahIsk5h2iRIDP4FmXTYFJCLIWDOWqjU uYqYkOM+zOfFz4XmXA+5xQZkBRkYoLmntpoeQZbwtoSOzobv+uYCKtZczrGGhS89HzPR Qg79SVb7Mcy3HOzJO0LIrPCkgTmKLuvaNkaUTmNN68ANqp0wW8lh4iBvYHcBmGvi7zac 1wtQ== 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=X9aAxEQqLCUHkt+tQ1ZuSH+DuzKjjUkXA3iGZzfMpu4=; b=B4+3hjydosVbm78fKj4SsUq7vNynl2wPLQzp12Jyblbn33E64pa0lEPeEuJDszr13J T/qVYUlmLdpN2sotlGonRK+FbSY72NGY0KUbGAb1YywGIaXhIPOAADiIZhsIwpNlTI38 qyAfxtJpABuvuPBR9HDMa3WJ2j6mRO5+JXoCOS0nMAamXMLXjKL72WywTCz9t4RWp582 SYJCwoVGnIUkDx+bsD7DZkAJa61yJcLbwJD+8GJ/XiB+HcUD0O3ou3n3D/ZIPsd1nBCV VI5zwxVDmTQvEfu6VCrn+G3Yq59OKsjnlnTOCPaIhYzzwcCZLizRJVdeo1znDoTFmKdM yO/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com; 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 y8si9032484pgo.217.2017.06.11.20.30.52; Sun, 11 Jun 2017 20:30:52 -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; 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 S1752484AbdFLDa0 (ORCPT + 25 others); Sun, 11 Jun 2017 23:30:26 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:64224 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752163AbdFLD2N (ORCPT ); Sun, 11 Jun 2017 23:28:13 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v5C3RXP8001077; Mon, 12 Jun 2017 12:27:41 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v5C3RXP8001077 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1497238062; bh=X9aAxEQqLCUHkt+tQ1ZuSH+DuzKjjUkXA3iGZzfMpu4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LzoXx1yvgGKkjbZstFaWQ1QbJpjnZ5lJle/o+VcJxBu1kx4us4nhoZwHaH9cNrz82 I5XXVM0vqJT5SkhSGMIIp4mIC6weaIVlcBkGcMQRiNo6TY9gbnLPGWifHW2+h0Kd7v xsiJjTMyJ+/IdQH8k4LUv4JJP2p3wgXSb0rGUUgdpUBrSF5D7nH6i0vkeNaUFMg68N B7+2wZpz75pHN4/X0CCXofRr/kcQbtY4TVxaW1Z8jl/Y8O+5SY3rgK7I/G1dSAqyW1 m6Ij4UHlUujWZ43ZMTNwYDwk8r8hQdOe6+Hy06viF75GNvdbl0TeKhChE/tT6Si74j cJ4QXb6CH3kPg== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org, linux-arch Cc: Masahiro Yamada , linux-kernel@vger.kernel.org, Mark Salter , Aurelien Jacquiot , linux-c6x-dev@linux-c6x.org Subject: [PATCH 08/27] c6x: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 12 Jun 2017 12:27:02 +0900 Message-Id: <1497238041-7011-9-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497238041-7011-1-git-send-email-yamada.masahiro@socionext.com> References: <1497238041-7011-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. scripts/Makefile.headersinst still need to deal with old-kbuild-file for headers listed in arch/*/include/asm/Kbuild, but actually exported. As the last work to finish de-coupling the uapi from kernel headers, move generic-y of exported headers to uapi/asm/Kbuild. Signed-off-by: Masahiro Yamada --- arch/c6x/include/asm/Kbuild | 27 --------------------------- arch/c6x/include/uapi/asm/Kbuild | 26 ++++++++++++++++++++++++++ 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 f0eaf0475e7e..7c971e182b35 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,17 +7,12 @@ 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 @@ -28,36 +20,17 @@ generic-y += kmap_types.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 += 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 += 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 diff --git a/arch/c6x/include/uapi/asm/Kbuild b/arch/c6x/include/uapi/asm/Kbuild index 13a97aa2285f..67ee896a76a7 100644 --- a/arch/c6x/include/uapi/asm/Kbuild +++ b/arch/c6x/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 += 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 Mon Jun 12 03:27:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 103591 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp13854qgd; Sun, 11 Jun 2017 20:31:45 -0700 (PDT) X-Received: by 10.84.231.1 with SMTP id f1mr53560190plk.258.1497238305051; Sun, 11 Jun 2017 20:31:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497238305; cv=none; d=google.com; s=arc-20160816; b=W8DEBS4/rTHXJnv27X6xLaatjPHfjpzZg9MZrv0OTfzXI28CXzy9gAeN05h/goClVF 0eMV4NzBZciUC0wKPqt5SX3X4H7V0zdMhIH2Qy1AKkUgIkAeVPCh60jTYC6ODHGa4bIx iRkvoYZSUCxnRFFWgqHu08FflgLTZ8pmjy3MDWfgiVHbHuQSDfq5Mh1dRkue772hOBjo zLN/McAxZ/HkAfaGXlWttRdZmYWyGJz+U/+eGGupWfN2ZLmyrV6jyqwkAY39z4sjMGdo 7Vqhnqlj1Ja80C7UUzCbGewnbTbhyZTY/0jhk/XCkyPZIclHWre/xOZT7c9PYuHr8fXS ezKA== 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=h1gU8dyZX7MX1g8DKhjZKu/5CmBoBr+2pkECQqtSSM8=; b=iDLJ8NfulfNs8KTzchtOCj8McfEvvVtf4ZuYJpiQ71hw7wbT3AR5gf5Gh0+AY9SAf9 c4s7DDy/ZVYBfo/Oe/6zXQPUjSaVoCKtT1MJlVQ/zz70m/skhEWoUdXb/cZcBC0XuAvM Rv8POPCne3u8vdtOk+IhdpwUBSt3FfMeMdren/MEUEIuobfk7EU+WzNNwnCOeQPkLnWn 1hh5kgreuIwaAZrh6qIogs8m2IMXl8oSRm8PiduEY9tqc9Owgrm0KmPGfmvCEW2Hdm/W ZSKmb31NB3ZHB5jetV15FjyiAhtCFKFVhsREM+Tz6dYcpxzJCnXWhlH8hY0dpK9NyQic n0IA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com; 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 r11si6108524plj.140.2017.06.11.20.31.44; Sun, 11 Jun 2017 20:31:45 -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; 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 S1752360AbdFLDbV (ORCPT + 25 others); Sun, 11 Jun 2017 23:31:21 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:63998 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752137AbdFLD2H (ORCPT ); Sun, 11 Jun 2017 23:28:07 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v5C3RXP9001077; Mon, 12 Jun 2017 12:27:42 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v5C3RXP9001077 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1497238062; bh=h1gU8dyZX7MX1g8DKhjZKu/5CmBoBr+2pkECQqtSSM8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=L9W/DSmBHWBAmV+hjKJL2VpWGNt0EzKaiXIwhYbAihBHmSR90ajKDipilN/XOjqaU u5jtI4gkv2VDTSxMXDflLsqEHIwDNdEoHWh41jBEAnCrPz1PWPSoC31qSqNkKVwvHY Bn6RRm/0/8PsaQI6tOmTDaPT+S0RHr2uV3iQeYSO5mzxzb7+28AataXqvNIBILTynE tQKoGBHYenN/NEGkc/o9irUu7hXX3GI6/nVxYAcDVC8dinKdz+G48bYd3LuQdsOhCg aBit6oRp+H6ctIetaEb6mGRYZYiNeFvRNeKiSTLUx97o9pgbkdNE8l2BY1Mt0+HO4t 0Vncv3cLMsK1Q== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org, linux-arch Cc: Masahiro Yamada , Mikael Starvik , linux-cris-kernel@axis.com, Jesper Nilsson , linux-kernel@vger.kernel.org Subject: [PATCH 09/27] cris: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 12 Jun 2017 12:27:03 +0900 Message-Id: <1497238041-7011-10-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497238041-7011-1-git-send-email-yamada.masahiro@socionext.com> References: <1497238041-7011-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. scripts/Makefile.headersinst still need to deal with old-kbuild-file for headers listed in arch/*/include/asm/Kbuild, but actually exported. As the last work to finish de-coupling the uapi from kernel headers, move generic-y of exported headers to uapi/asm/Kbuild. Signed-off-by: Masahiro Yamada --- arch/cris/include/asm/Kbuild | 18 ------------------ arch/cris/include/uapi/asm/Kbuild | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 18 deletions(-) -- 2.7.4 diff --git a/arch/cris/include/asm/Kbuild b/arch/cris/include/asm/Kbuild index 2890099992a9..5194aad168a3 100644 --- a/arch/cris/include/asm/Kbuild +++ b/arch/cris/include/asm/Kbuild @@ -1,48 +1,30 @@ 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 += 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 += 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 += siginfo.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 diff --git a/arch/cris/include/uapi/asm/Kbuild b/arch/cris/include/uapi/asm/Kbuild index b15bf6bc0e94..3687b54bb18e 100644 --- a/arch/cris/include/uapi/asm/Kbuild +++ b/arch/cris/include/uapi/asm/Kbuild @@ -1,2 +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 Mon Jun 12 03:27:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 103581 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp13146qgd; Sun, 11 Jun 2017 20:28:52 -0700 (PDT) X-Received: by 10.99.152.25 with SMTP id q25mr56350768pgd.93.1497238131954; Sun, 11 Jun 2017 20:28:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497238131; cv=none; d=google.com; s=arc-20160816; b=cuYarpwN0saO84z3PJKkd6pq6NOURKIHhDSVqc54jJwrJV7MzYPKBkksck6X79PjXi /5L0qo9L266rmPo+kxh3RDNvKYlNZ7YgUF8zCkpDMXirxX0t/YTI7uqUBwPJsmTnxccN Y2PuQL88vp9RZclCQ3iGemNHJR5Bok7osunp7msFxGWeYDBMTZSpLpLU/1R/AjT6MR0I OGEE1G5iuOu7FKRW6WO6CHzF2ZNHKwDzCl7HvdTN+D+AQd/OxZNdERoE0x8D1woyBIwu lmkFkwUi9hc01VfCKa0WR5r7+pALhSApUH1MGoNIuN+sdNM55fcr6j871OI0bGc2quRK nbTw== 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=3iopbDOCzAH2PKEP/1Avp27rYfoxgdH3NrtYwG4+OFw=; b=P7bLn4nkUuaCsELAQ19WLzknw7GxqNn53+4g0/KR8mGN6RmZqfKLEFTiPvSJq/qvwi R13ZMD0h1lL5VZgQ5W+HNSjyYF1nzK0yS/bzqSN/AZlMdYaEc4Fq4Nn+0pdEBK05YTuS eaYnGZq0ntlLWuYksKul0eWoxi84VOMBEUy2zysMS96cIZBxffOVxPaqjY+MIm892xjp G8cDaCuAaUeR/p37DdP+BDfT0Ty8oQKvGaQGmlOvi9Nr25mlwkFIrQ1n38QOWKL/AdHI TOZe+MCLV4h/tEMqRSH0hmglanh7xO9mMZk7nX2sKIClFRDyd46fVSCe5ibTAAOTKvzh jndA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com; 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 1si12043848pgs.356.2017.06.11.20.28.51; Sun, 11 Jun 2017 20:28:51 -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; 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 S1752247AbdFLD2b (ORCPT + 25 others); Sun, 11 Jun 2017 23:28:31 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:64373 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752221AbdFLD22 (ORCPT ); Sun, 11 Jun 2017 23:28:28 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v5C3RXPA001077; Mon, 12 Jun 2017 12:27:43 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v5C3RXPA001077 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1497238063; bh=3iopbDOCzAH2PKEP/1Avp27rYfoxgdH3NrtYwG4+OFw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hjkSZWA8sUSnGxNveSBs7dwESEHUsgWRyv8xBbgZNmnEFcYDQlKJo2disf9/fjB8Z xAmD8SGZa/3ygu1PCBVJBI1BjZQz0R8LZOBmr7RaX+LLV96Qo/5SdK13XzyHDZI+Bb RHXVh6o2Fkt7wpmnPudOwvI44RtTBdscsMeQR36dNSARkELOPW/ILCUiezbvofMllu 2CKdxnzEah2BN3FiH22McV7PkVO/ReVRXKZNkgz9AyVSR40nuhdb/iSKmp2M2ps1z0 XWN9lNccVkmXznOIECPcvumL3T88PlMNbaSYexIaS0+EyuIuEkTOFLfxc88MZ4dzsY 1/4Xb1prQ6uMA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org, linux-arch Cc: Masahiro Yamada , Yoshinori Sato , uclinux-h8-devel@lists.sourceforge.jp, linux-kernel@vger.kernel.org Subject: [PATCH 10/27] h8300: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 12 Jun 2017 12:27:04 +0900 Message-Id: <1497238041-7011-11-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497238041-7011-1-git-send-email-yamada.masahiro@socionext.com> References: <1497238041-7011-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. scripts/Makefile.headersinst still need to deal with old-kbuild-file for headers listed in arch/*/include/asm/Kbuild, but actually exported. As the last work to finish de-coupling the uapi from kernel headers, move generic-y of exported headers to uapi/asm/Kbuild. Signed-off-by: Masahiro Yamada --- arch/h8300/include/asm/Kbuild | 27 --------------------------- arch/h8300/include/uapi/asm/Kbuild | 28 ++++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 27 deletions(-) -- 2.7.4 diff --git a/arch/h8300/include/asm/Kbuild b/arch/h8300/include/asm/Kbuild index 757cdeb24e6e..5f2af32a7a57 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,65 +10,39 @@ 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 += 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 += siginfo.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 += unaligned.h generic-y += vga.h generic-y += word-at-a-time.h diff --git a/arch/h8300/include/uapi/asm/Kbuild b/arch/h8300/include/uapi/asm/Kbuild index b15bf6bc0e94..187aed820e71 100644 --- a/arch/h8300/include/uapi/asm/Kbuild +++ b/arch/h8300/include/uapi/asm/Kbuild @@ -1,2 +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 Mon Jun 12 03:27:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 103577 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp13038qgd; Sun, 11 Jun 2017 20:28:22 -0700 (PDT) X-Received: by 10.98.157.74 with SMTP id i71mr44531126pfd.141.1497238102354; Sun, 11 Jun 2017 20:28:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497238102; cv=none; d=google.com; s=arc-20160816; b=k7oFtihEtRDJUWu9ZcJV6NmgTS0g2+1sF00/Npbs2qS4fxZ8BiIQUxxGoogEGewOFp 35Rdz7PyVifULrjb7ZfvLEiv/wwvgf0gIu2k1ekpKBINaGznGg74IlS6J7lX9teXY6HK jxfu7IOl9M5ybxxQmImNTAyijKwQQrfirmOxq+pyD4BcuseMy4VBfEyNGWLj5v6/ie+1 Oy/Dtbf0tFsCwkCDyECDgHRmuUOSF3fXfVqNdSxm4Hx9GuHQXg6HF1evvM44wOwBpSO3 81WwyzvaSbUTt1raO0PF+pZM1Dn1/DSAabwLCmrYX0Ds6uhmmTfzR/f2Odgcrg4Okfjn DEjg== 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=r8dY+yul7M9KtwhXgQwMhTMj077HZEv7lF4JdLZBiAA=; b=duXttb1A8dtXBtlPV781ca6Jb8vUMgWzv++ffKiMEqRPyEtsjz2Q18NT7MmCpgX+I0 +g3H+coBAEWi5otQdRpucQHA/IOdmMZNDsJNFdg4CNulPs/U1M1aDUAhClz7tRge6EBP Ij+0vtbyRIhoNFf1cF/nh2OCuxghyGECLCRMY4iabpsDijwoCMNnWw1AVtG+0ZXZrWX4 RAp2ieBopbUehWNDjyyI02d3FKYhLS7mYLeiwFXFnYQa+j/5jEgRFWSObYxZs7KrVUkT ZRX9uAmtIHKIepZHH5lwnSDYxhEoBbdN4gf6LoURMMJVxnvXs891Z74Sq30OQw9xFHv2 wKWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com; 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 33si3866511plg.77.2017.06.11.20.28.22; Sun, 11 Jun 2017 20:28: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; 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 S1752159AbdFLD2J (ORCPT + 25 others); Sun, 11 Jun 2017 23:28:09 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:63885 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752017AbdFLD2F (ORCPT ); Sun, 11 Jun 2017 23:28:05 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v5C3RXPB001077; Mon, 12 Jun 2017 12:27:43 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v5C3RXPB001077 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1497238064; bh=r8dY+yul7M9KtwhXgQwMhTMj077HZEv7lF4JdLZBiAA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=H2pnAzOZ8rUcMtux9xbpyjY+F0HjimTG5dJuLO38dhnW8elQm7TJeeB9U7aiZsiLk 3yxxlo0DeIgtfb8GaAOunndYoMt2S9FH/CueY4dS09cHCtpktvWrYgVSziHGQ8V3IE 7OVLLUDdeQXMnuxaBDvlscpphH8UUrRAR5SbQso9y77gkhpGWj1MghPfZENJk9WFni gliMyWJnk22375nNLO/+8+wrCVtM1oxztqq3d1y8Kz5L/iRP1u/QUQPawfDZ/qElS6 iXIHe1WbEktFeWpIpI8Cvu9nWRpDcGOTxnEKaRglhpVUc+YlYX1L3h8zGpA3iVnmcj 9C3RKo7ziptSA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org, linux-arch Cc: Masahiro Yamada , Richard Kuo , linux-kernel@vger.kernel.org, linux-hexagon@vger.kernel.org Subject: [PATCH 11/27] hexagon: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 12 Jun 2017 12:27:05 +0900 Message-Id: <1497238041-7011-12-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497238041-7011-1-git-send-email-yamada.masahiro@socionext.com> References: <1497238041-7011-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. scripts/Makefile.headersinst still need to deal with old-kbuild-file for headers listed in arch/*/include/asm/Kbuild, but actually exported. As the last work to finish de-coupling the uapi from kernel headers, move generic-y of exported headers to uapi/asm/Kbuild. Signed-off-by: Masahiro Yamada --- arch/hexagon/include/asm/Kbuild | 23 ----------------------- arch/hexagon/include/uapi/asm/Kbuild | 24 ++++++++++++++++++++++++ 2 files changed, 24 insertions(+), 23 deletions(-) -- 2.7.4 diff --git a/arch/hexagon/include/asm/Kbuild b/arch/hexagon/include/asm/Kbuild index 6b45ef79eb8f..28d1fe16278e 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,17 +6,12 @@ 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 @@ -26,33 +20,16 @@ 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 += siginfo.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 diff --git a/arch/hexagon/include/uapi/asm/Kbuild b/arch/hexagon/include/uapi/asm/Kbuild index b15bf6bc0e94..cb5df3aad3a8 100644 --- a/arch/hexagon/include/uapi/asm/Kbuild +++ b/arch/hexagon/include/uapi/asm/Kbuild @@ -1,2 +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 Mon Jun 12 03:27:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 103592 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp13857qgd; Sun, 11 Jun 2017 20:31:45 -0700 (PDT) X-Received: by 10.84.211.7 with SMTP id b7mr24657160pli.124.1497238305394; Sun, 11 Jun 2017 20:31:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497238305; cv=none; d=google.com; s=arc-20160816; b=TImF5BxtiSj5sd7ihVW1EYC/2cAzziqPeu1WhopjmdOm/6mnyeptoZFRfnaEMWtxxN cybed6zgqSlURoZUYV5+s8oQU5H0/mAaXRktCKQx0dWaD46arT1QDr+3RabSNapEy4yn cpndqDs9XVW0p/y2osQMufmZ5E4Xbx85WmqsfY8gZqbAnjw7ztWMMDLtppo0vPqykGlj l5RHoSi7NkVS4QUEfADT19EHf92XrJM75H1YG5rNiuC3I7J+TzoFtiHuSf9xxWf4q4kL MH+OAo3mOrgRWGdb7Ifl4bhHuaUkQuVK4sWztfxoMrPZqInYRuuqxkqIzDIVoqXMKafa nRyQ== 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=wMpTfxr+Td2H3BV5K51brt92CO9030CM60PRKM3JFBKCGfnr5nyj84S+1YbW7tAwfS ujJaBYAgl/32DEACiI7U/CPpiRLG47Pq2DXHkzkt6OJoI1U00RhXKRFK82c2/X0Q6WUo yCniRlazTeH2Ux0EI+os/vKYCl4pzMKMw3GN56VQLhFsVerv3LIPaNEol+T3hB5Pk7JW sHlbGZ+RY7tEYsLdtX33eyAfho5ArNlNufb6ekpblc8BIKuAhg82S2/AnDJ7hD/iBEFS zDCQxpUJv6yxP/jr/OzLRgLchLBHdaSB9AkJPj70d11D9NFCwxcS5qXR+EolC2DrQ0CK UjFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com; 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 r11si6108524plj.140.2017.06.11.20.31.45; Sun, 11 Jun 2017 20:31:45 -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; 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 S1752497AbdFLDbX (ORCPT + 25 others); Sun, 11 Jun 2017 23:31:23 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:63959 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752135AbdFLD2H (ORCPT ); Sun, 11 Jun 2017 23:28:07 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v5C3RXPC001077; Mon, 12 Jun 2017 12:27:44 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v5C3RXPC001077 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1497238064; bh=BTqz7TzViEG0mg9BVJp/Wzp4A7JHz9d0qOSJWTLVqhU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PsBaTP129TKeh/oYFwqBAE7LMo3Pi5lt/XbD8qag8U43hxlgAD5ooMxccoufPcsUj ArFeOPL9Xlyp5Y2bd+moSxgqP1et8SxRGYt23evZxIleqU4Gg+WL66MFdUl1XVSaBS kkmaJQK98GLnXYML6oOyX+dxRB2S2KRb8ObBFCIW4GCuxbgcq05n4Q4edQ/Vc7G/+L I97FtVzTf7mSAxODvXhs14/E2Hom9/Yx8ecqJvYFtLdChPDTbyKlmotcLtdYwX48Uz 09rGhIv8l9yHrcabzPAj6TL91Y2R7jVF4Dij5ZnTGigoDwxa8BG2CZVJjqtgt6cGq2 aphXMlwb+ga3A== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org, linux-arch Cc: Masahiro Yamada , Tony Luck , linux-ia64@vger.kernel.org, Fenghua Yu , linux-kernel@vger.kernel.org Subject: [PATCH 12/27] ia64: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 12 Jun 2017 12:27:06 +0900 Message-Id: <1497238041-7011-13-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497238041-7011-1-git-send-email-yamada.masahiro@socionext.com> References: <1497238041-7011-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 Mon Jun 12 03:27:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 103576 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp13035qgd; Sun, 11 Jun 2017 20:28:22 -0700 (PDT) X-Received: by 10.99.95.194 with SMTP id t185mr29435867pgb.19.1497238101974; Sun, 11 Jun 2017 20:28:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497238101; cv=none; d=google.com; s=arc-20160816; b=lswskanoGYDBNMSiFrldXDL8nPXngAFboSLsJrNUjPhAcIED34Xg1i97YCwiAiL4h9 nJIeX9eS92ZqWVjoQDeWhKrkNyjb/i6zpTcxIPgwa+g3jA1MwdLC6IN+OTarEqZmsM8C tYf8FyiFlZw5P7YnW5uTZxRAt8sa52oJIgIMvH+5162kn/ADNcFvhRaT0LLmJArUZKqV ZKaCa/vERyh2rFSt6eyMcmJJ1h3M1d+mADJmCuzQeEnRSc4bCaah/YcdKipO8a5KII/g YHsVi4Az4v8c1Tv+BOH3f9vMLNQ3bKO5Jqy1hadRjM21Q3PdnU+N/r3gk47C2RDnJfvx PogQ== 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=XtyoVmoBvdNIjDiM9ojlteCTGWsjnYDtV3HXlq5ZmCM=; b=hsrSikZ3XQVyLXR/YGgX+2U1tMOFCX0ScOYXp0KeZ7tDtjQpgEPbDTcupVbHYG8NLG jBrnf8qQQRTw5w3PwuoAanEnMV7oM9C8Gcrv1AhWz6c7ikL4Dfzah+1TDbs4JzwJwrbs I7KL6WvFx3AZQH62prXpdLSwTcAHMfTdVlwnEyPZvj+kNl5BTciJVky2Cj987OKzgfCN N9yfoy1ZDglIApLm9eDChmmUYuZ8gdzVy/SJg3kILI8QK9fYBtCQ44hTWgKoWbCEr3JG 3YjDrh5pPMXHx89MozStooW9dW+MPx+zRUuo9YRmwvPOFyCAWNucZpoSccv4MtW8RY/D Goag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com; 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 33si3866511plg.77.2017.06.11.20.28.21; Sun, 11 Jun 2017 20:28: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; 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 S1752133AbdFLD2E (ORCPT + 25 others); Sun, 11 Jun 2017 23:28:04 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:63774 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751987AbdFLD2C (ORCPT ); Sun, 11 Jun 2017 23:28:02 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v5C3RXPD001077; Mon, 12 Jun 2017 12:27:45 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v5C3RXPD001077 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1497238065; bh=XtyoVmoBvdNIjDiM9ojlteCTGWsjnYDtV3HXlq5ZmCM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Iy3XoiEh1+rauTxBAr/TJmaNyefzrtElbu61mEeqZqNHFjCwOMaM6NahpElYXqP5s VsA/zE3kNDizwIdx7E3IqQtC0RXyGORVmIZrlFtCTSAA8H+Xopod5KlEp3rDQ+31N8 qxzK68PoZPsOeY5Cw6ihROtNSikXkNDaOnsL2aY17MeTxs1Uob54gp9AiS4NoygboZ kzpSquP3dk3/Zh9JOWafzR6QSHx6NF/jWCzhiGjTV4BTXehTpYTzDvA1r5qYKZ7JYE KCmhmNxV3Y3Wa+kxxKgL12Llq5txV30Ob5S340oGPqsYIQGzzssCki8y/5hBV5Ii76 Vaa3BvZAm090g== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org, linux-arch Cc: Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH 13/27] m32r: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 12 Jun 2017 12:27:07 +0900 Message-Id: <1497238041-7011-14-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497238041-7011-1-git-send-email-yamada.masahiro@socionext.com> References: <1497238041-7011-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. scripts/Makefile.headersinst still need to deal with old-kbuild-file for headers listed in arch/*/include/asm/Kbuild, but actually exported. As the last work to finish de-coupling the uapi from kernel headers, move generic-y of exported headers to uapi/asm/Kbuild. Signed-off-by: Masahiro Yamada --- arch/m32r/include/asm/Kbuild | 2 -- arch/m32r/include/uapi/asm/Kbuild | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) -- 2.7.4 diff --git a/arch/m32r/include/asm/Kbuild b/arch/m32r/include/asm/Kbuild index c000ffac8586..15ad847321fc 100644 --- a/arch/m32r/include/asm/Kbuild +++ b/arch/m32r/include/asm/Kbuild @@ -1,10 +1,8 @@ - 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 += mcs_spinlock.h generic-y += mm-arch-hooks.h generic-y += module.h diff --git a/arch/m32r/include/uapi/asm/Kbuild b/arch/m32r/include/uapi/asm/Kbuild index b15bf6bc0e94..13a97aa2285f 100644 --- a/arch/m32r/include/uapi/asm/Kbuild +++ b/arch/m32r/include/uapi/asm/Kbuild @@ -1,2 +1,4 @@ # UAPI Header export list include include/uapi/asm-generic/Kbuild.asm + +generic-y += kvm_para.h From patchwork Mon Jun 12 03:27:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 103580 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp13143qgd; Sun, 11 Jun 2017 20:28:51 -0700 (PDT) X-Received: by 10.84.174.131 with SMTP id r3mr38323596plb.90.1497238131342; Sun, 11 Jun 2017 20:28:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497238131; cv=none; d=google.com; s=arc-20160816; b=krHc6hDy7Ix2N+8FDCE5yu8rU86A2bbVjlkuVYDOZ62vHmctDmyijxmFL9JU7ge03L vSwhT02ntFFUiKZ54QCNESI6choRnmJAbR4rc2I4FV/OF/BjDVNkpY2GtbJFCH0PpdhR E2CFwMKLvTRLqwNzXKkyfKLw8Q29u3nwhPC7kWDcVDO4mIgSd7Pvpt4HPYQZdR0lpT5m KPe8rpx+939HInmX2M6ERIqo//5V+zCk0bHwOcZvCyHKa3Lp2gkqBUaPvqM24xE5F9UR f0g0uG4KYgBSEPrBOcXEQPCkaimSrb9pv2jmjmggBJkxmSq3BqfwouPZMF5acVp8T6p2 dCwA== 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=gPWAiRaSm0ES1exbkD3Dgyut4J/llRzf2e9lhznLRng=; b=uIq0zX9Zb0284uaa3ATTJBbsu6eZ/s3Qlazl6IU0hQ7By4pGU+da22eKv9QAQaGqH0 pLtIsGocy+9G6s4RWF5ty/Bcwx8HiTo3VlrjHyl6a55DUPsmA+BPWjBQpV93gxV67Hup Gljli7tC5rqg2Ms40o4cbVW8kOGWtGeGc0UIhZvDoo1kTPTFl/vm1T6PVnziUf7awB2o 2tcAv0Wo0e4Vix5TYnbpZIrWQVOMyZNo6YvZBZC4cD95S/QVhMBsBGl7StcMUwEdAPxl lZqasKSPBtQE/gGVeTAvvjuSk5Xtl+NP5ZwtY0xuhoY5oplr+ONbLykKhqQZiVzAb/Nc O71g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com; 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 1si12043848pgs.356.2017.06.11.20.28.51; Sun, 11 Jun 2017 20:28:51 -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; 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 S1752216AbdFLD2W (ORCPT + 25 others); Sun, 11 Jun 2017 23:28:22 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:64333 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752151AbdFLD2R (ORCPT ); Sun, 11 Jun 2017 23:28:17 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v5C3RXPE001077; Mon, 12 Jun 2017 12:27:45 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v5C3RXPE001077 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1497238066; bh=gPWAiRaSm0ES1exbkD3Dgyut4J/llRzf2e9lhznLRng=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ANTovRtTnbCUkWj+JbHywZftFWq0tm66TzqulR5Uv+hZTFct8O5lCzDjipW5Ol7LI e9x1khEQq7BHDtpJI17+wkD3CF3I7GW7f4F1YxEj/x00xACOSisOS9hdHXQ3jgAdkG 6heu2RyFpENMffXKvdjANK+xtqJfLlsmb6wWw3oRorrIFSEF8tsLQbSvx0aVA8K0dx mEUi+Uvev0gcQY2EyaS/s6IyLL7I060xtECwIV4fxZqd5eLef1Qp8ii58MKBAiuPtw ZPdhAZRdgnQm96qpRr5xN3yJSL9Z5Sks9kEeZyG65ozk+0e0pnVwovoOxJsjK1thhD Bieu54LfrphLQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org, linux-arch Cc: Masahiro Yamada , Geert Uytterhoeven , linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org Subject: [PATCH 14/27] m68k: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 12 Jun 2017 12:27:08 +0900 Message-Id: <1497238041-7011-15-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497238041-7011-1-git-send-email-yamada.masahiro@socionext.com> References: <1497238041-7011-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. scripts/Makefile.headersinst still need to deal with old-kbuild-file for headers listed in arch/*/include/asm/Kbuild, but actually exported. As the last work to finish de-coupling the uapi from kernel headers, move generic-y of exported headers to uapi/asm/Kbuild. For m68k, "generic-y += termios.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/m68k/include/asm/Kbuild | 12 ------------ arch/m68k/include/uapi/asm/Kbuild | 11 +++++++++++ 2 files changed, 11 insertions(+), 12 deletions(-) -- 2.7.4 Acked-by: Geert Uytterhoeven diff --git a/arch/m68k/include/asm/Kbuild b/arch/m68k/include/asm/Kbuild index 82005d2ff717..2e547df53344 100644 --- a/arch/m68k/include/asm/Kbuild +++ b/arch/m68k/include/asm/Kbuild @@ -1,37 +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 += 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 += siginfo.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 64368077235a..3717b64a620d 100644 --- a/arch/m68k/include/uapi/asm/Kbuild +++ b/arch/m68k/include/uapi/asm/Kbuild @@ -2,10 +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 Mon Jun 12 03:27:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 103589 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp13721qgd; Sun, 11 Jun 2017 20:31:07 -0700 (PDT) X-Received: by 10.84.209.228 with SMTP id y91mr54012320plh.210.1497238267129; Sun, 11 Jun 2017 20:31:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497238267; cv=none; d=google.com; s=arc-20160816; b=NHLlqBgdftHW3c6nf8S5O3PvrmUunN8Z5JeU7FqJ7lGMNJHLJ95Up7afApWVCHu2uT yyHX0Tj+m/arp5WtcIazS4jYjOnjJ6IRQsbN4zRyymD6OxUZpDu49ziosghsBYcCtfQF 6Jwc86R01D1ayT7kyxpLc8f9UqJnwYftZQtpluiFtg0sRiUjjwfNiF9L5NkBNoCoC0aV dvSVX01LArTc/mP0zBYYqa3HLj082LpU/g7EKB0C7kIqqnm4czOZqNXXHM0utWA1UXlD nVzdwyFQdziHW1UDbJiUKuKdTWt38rBYiSK4krErA9C1q4HxkENtfIKy/PoeFQB7pSON dJWg== 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=RX/RLSURUmy3P6wjweJe0RV2iOL7D8n4IKeF7T6jAVI=; b=n7H/UBqS2urM2tJDTzMjeafoxWhcAMqzCCCLgYC/dBegcHb4F7/40i/d89TVZUepkC yfE3c7o693sTZgL06KJ+1rAAXspBKpRKEcySxmhmBI70fWc6/wmwAkLqg+TkOKaLC0r4 BrLzKQTJ2ZmI6HDI1p3Udghq5xVD2mf8+9ZR5phZ6exKS40zvydykLwn4As0lebgM1JH XVYS2pUIHkJK8mi+DzukbUf6L2V4JkOhcUiJXkmRomUF7L+JHwA/xEWSH/YuXoNQ0+9M +ZBADkoAC7Vw0uCsqZHWKzzDSZiipBr6hAUx15CB8HF4uKaPfrHYNfpYP+a3saAxQPHH Tctw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com; 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 k6si6092613pfc.198.2017.06.11.20.31.06; Sun, 11 Jun 2017 20:31:07 -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; 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 S1752491AbdFLDax (ORCPT + 25 others); Sun, 11 Jun 2017 23:30:53 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:63993 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752136AbdFLD2I (ORCPT ); Sun, 11 Jun 2017 23:28:08 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v5C3RXPF001077; Mon, 12 Jun 2017 12:27:46 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v5C3RXPF001077 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1497238066; bh=RX/RLSURUmy3P6wjweJe0RV2iOL7D8n4IKeF7T6jAVI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=D1c1FQNt/eo6a+g4R28lKKeun3NEY9eERmZ72c4fwla9xtXzRt5DiAfiNeWOctAYk D/2xt3vtDLn5vbH9Ddhhh/ISshYdxOEhfbUkgEmGTbjJIBOFqlllvqO02qwtJAG+fg Oawib3gfRDcmVVMuvbIs8rIxy1U/X2uAUFPsF3MaQJrIzTzFp6knEsB9pLhYA1GW93 zSXJIGAvI/FBl+0Nug/4UlEnF5PUWWxZwNTiezp7uTH2IfpaIvT/mviBjSjPcIsonf TcHU5CVaK9MFOYi7c/lZswZI6GAW5EBDtuKQSatGeWx1QR7aJunT9MpHxjIw9MFUhG rWMN0QhGy1j7Q== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org, linux-arch Cc: Masahiro Yamada , James Hogan , linux-metag@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 15/27] metag: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 12 Jun 2017 12:27:09 +0900 Message-Id: <1497238041-7011-16-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497238041-7011-1-git-send-email-yamada.masahiro@socionext.com> References: <1497238041-7011-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. scripts/Makefile.headersinst still need to deal with old-kbuild-file for headers listed in arch/*/include/asm/Kbuild, but actually exported. As the last work to finish de-coupling the uapi from kernel headers, move generic-y of exported headers to uapi/asm/Kbuild. Signed-off-by: Masahiro Yamada --- arch/metag/include/asm/Kbuild | 24 ------------------------ arch/metag/include/uapi/asm/Kbuild | 24 ++++++++++++++++++++++++ 2 files changed, 24 insertions(+), 24 deletions(-) -- 2.7.4 diff --git a/arch/metag/include/asm/Kbuild b/arch/metag/include/asm/Kbuild index 8f940553a579..cd06d246d06c 100644 --- a/arch/metag/include/asm/Kbuild +++ b/arch/metag/include/asm/Kbuild @@ -1,55 +1,31 @@ -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 += 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 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 Mon Jun 12 03:27:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 103596 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp14117qgd; Sun, 11 Jun 2017 20:32:56 -0700 (PDT) X-Received: by 10.84.132.42 with SMTP id 39mr43761891ple.226.1497238376663; Sun, 11 Jun 2017 20:32:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497238376; cv=none; d=google.com; s=arc-20160816; b=D+NccDYnr6GxiWkYkAg6vF98yVyzBeC21iP+SuHLJ0IoPSdYY/6lC+c42ywxfK+9eE hM+pkojN4fXYwTUMGEzbQXCXI6pS94gdW+vW7bV/t4JkqO3Yenvdp1nEKJXUN6+EFiUE GRvpkpsL9th4ZDs6t5SlZmYkwqUTCV9qXakFU6di5y1EnJAFY0oY9Qkq3TiWFI9a1OeB bl/7yjdymXlzedz7yvtqLHYCUGOmH97fMzGhNILdCG/d74emIcP4Q0+DrCNnTnQMroPP Y+w3oKg3LFS53zefydpGxK4YWP5/xTgHpSW17f5flL++Q0NeOqR+vqKQozNpW5sizQj6 k90w== 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=OkihC1KpI1LEgnUgN3PPPztlfFsDbpW+ptj//O4slJM=; b=hzzJILTupa07hqA5gS2NqGzDEM2oR8MSwEjwXqlR2RWyxLR918r5LzTz9PZC3IbSe2 NZmVnXTtoxXwoY09YNcg4QaUfPdH/P77QlKV6bWu4DMcKzg8wabiOXBu+u8UArULIrxn gQjxcmyqxgkCvyOK5e8QuqPXJVtlM/Qb8lVKnU5jvRbnbIEtSh9JsY/YnDnFHxd6rZC6 mSPNHfGkHO3rL2iLGyKu11K3tvmvp5aLUh0QtCoTyLVSKWtucaRlkecV/VJM9SLqxtwR TsIe8r4jAKFp+EWbw7gHx6nItCXN+ImVdaiOmeFazJ+E/zYVPnkrRDqVRFYhKp8FHN2a 3Ztw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com; 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 64si6149360plk.286.2017.06.11.20.32.56; Sun, 11 Jun 2017 20:32:56 -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; 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 S1752367AbdFLDcI (ORCPT + 25 others); Sun, 11 Jun 2017 23:32:08 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:63950 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752134AbdFLD2G (ORCPT ); Sun, 11 Jun 2017 23:28:06 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v5C3RXPG001077; Mon, 12 Jun 2017 12:27:46 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v5C3RXPG001077 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1497238067; bh=OkihC1KpI1LEgnUgN3PPPztlfFsDbpW+ptj//O4slJM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pdqL6xGQdrE25qu4Srg09fdfnaEXDiIz9qvbA9Du9ms0ObYYiByAOvpWxQw3diC17 uLVunefy0odZS3HAdZm74mR5J3Leg7A7ghNUQwC8O7/IZuhVNiDY0dNy7ROqE34Y8l UMw0GPLuA6NoZw/6xOt7sS7E4ngCnbqCO2UQhGybpKqMKaJecO9ki8UoRz/Tc4kc0Q L8KGllE1ZYBnam95hOtEtB0922JDpbkIDJinGtNQSPJwKjIOzTRxjrnZFzWXxYKXUG dC60PpQHvDRb7RKIo2zj/IlJaR8Z8ba12ZZHa1z2IXRRU63YejQ9yD4RHSNTiyN/ZA 03S4Kzjm3SCyQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org, linux-arch Cc: Masahiro Yamada , Ley Foon Tan , linux-kernel@vger.kernel.org, nios2-dev@lists.rocketboards.org Subject: [PATCH 16/27] nios2: remove unneeded arch/nios2/include/(generated/)asm/signal.h Date: Mon, 12 Jun 2017 12:27:10 +0900 Message-Id: <1497238041-7011-17-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497238041-7011-1-git-send-email-yamada.masahiro@socionext.com> References: <1497238041-7011-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 diff --git a/arch/nios2/include/asm/Kbuild b/arch/nios2/include/asm/Kbuild index 727dbb333f60..fcef68198465 100644 --- a/arch/nios2/include/asm/Kbuild +++ b/arch/nios2/include/asm/Kbuild @@ -48,7 +48,6 @@ generic-y += sembuf.h generic-y += serial.h generic-y += shmbuf.h generic-y += siginfo.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 Mon Jun 12 03:27:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 103595 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp14017qgd; Sun, 11 Jun 2017 20:32:27 -0700 (PDT) X-Received: by 10.99.119.2 with SMTP id s2mr11692615pgc.197.1497238347174; Sun, 11 Jun 2017 20:32:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497238347; cv=none; d=google.com; s=arc-20160816; b=j0Onm92OcWANS0iOfU84MiLV0b2eM1TSfd38u6SP6RRBw/9vn+U8k+OPd3MkH7XapC nvL4L+uCuM+aVQGP50yXTrSYewmMaB+si76w80ZrhfxQj476O9zftVWxcIUNcyiO+H5H ocgvmTdt6IgmcGCbOCUXM2B32/owqN5VyYn10gom87kuwWmJs6lHTSqCWtH6LJabJtxV oALMqWaL0QbeYbLrLOiSwDutIj72OHx+1PHtuS0Uqf95o9F8/wpN/fNIa01XpqLHv8Qa cB0AyBNdcJF3My6S82MkljV4jQtP4asI4uH1ooGX3GaqikFpBf36d5KeD5Cci5yQDqbD baDA== 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=EslgoPSuxBFXO92b4AA+eT8LzuDT2If4C9O5dVbg5Ps=; b=zzJ2P2EX/lV3HHsAvf0A7W1rI7S3paOTNK+B5uJakMYVOe7PK0eMm/TTuHgFxE2m4l O9dVyhiBIIxs2Ub6c2VtnBaAHa6TfcMGih5zF8oOP+AvonQTngfQyy/dK6MR2QFniBXL irYzhJslLp4OcFSs69f6nN8Fj707ixrTqr3tZ8saVTi+YXS9A0lixfyw5PYnsxfMmuQG zGP7sjQJqOmv/APgd+ETFduGz2Ve1J2kVq2IKrzerr3HfUCZolkN2jVit/pDafmZzsTP ghA7WZjXoBszm83RaiXpMPkHRbEGBbN16AivcZBiAqBwzrl3Dxt3OpbbEAucHA0GepIc seVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com; 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 i6si5968320plk.180.2017.06.11.20.32.26; Sun, 11 Jun 2017 20:32: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; 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 S1752466AbdFLDcJ (ORCPT + 25 others); Sun, 11 Jun 2017 23:32:09 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:63949 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751987AbdFLD2G (ORCPT ); Sun, 11 Jun 2017 23:28:06 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v5C3RXPH001077; Mon, 12 Jun 2017 12:27:47 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v5C3RXPH001077 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1497238067; bh=EslgoPSuxBFXO92b4AA+eT8LzuDT2If4C9O5dVbg5Ps=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XBhiLqSrlIpAEpaWu+OJDtyv96SZeqxqQi+QEuso0EhJbcZV8RN2R901JC3o6qQrl YfsN8bTV8ApinHKBmP+hUgOfKuxI7F86K858nJqVQtqLRsR2USHWK2mpMPXz98NQvn +ALaIDnCigB2wcRVj9JSYAj3u+dq+dG64nJR7Ux3AEKbfALMzCmbF8gBrgFSAIb8Ep 6cwdm/ntqUyWrP9W/2MbG+K0Ik8eUz53dhhiBcThDIAaM/P41sv7Hd5MJ3wz2CCRoT m7XSZoLSdHdOhAWBNm8qfKnOfvA8oWPXUM4tJ43NtD/wkMueZqF1WqOSnbblRkGwyc clmU3Yb0ULh6Q== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org, linux-arch Cc: Masahiro Yamada , Ley Foon Tan , linux-kernel@vger.kernel.org, nios2-dev@lists.rocketboards.org Subject: [PATCH 17/27] nios2: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 12 Jun 2017 12:27:11 +0900 Message-Id: <1497238041-7011-18-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497238041-7011-1-git-send-email-yamada.masahiro@socionext.com> References: <1497238041-7011-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. scripts/Makefile.headersinst still need to deal with old-kbuild-file for headers listed in arch/*/include/asm/Kbuild, but actually exported. As the last work to finish de-coupling the uapi from kernel headers, move generic-y of exported headers to uapi/asm/Kbuild. Signed-off-by: Masahiro Yamada --- arch/nios2/include/asm/Kbuild | 24 ------------------------ arch/nios2/include/uapi/asm/Kbuild | 24 ++++++++++++++++++++++++ 2 files changed, 24 insertions(+), 24 deletions(-) -- 2.7.4 diff --git a/arch/nios2/include/asm/Kbuild b/arch/nios2/include/asm/Kbuild index fcef68198465..7010251c0545 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,52 +10,30 @@ 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 += 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 += siginfo.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 diff --git a/arch/nios2/include/uapi/asm/Kbuild b/arch/nios2/include/uapi/asm/Kbuild index 374bd123329f..ffca24da7647 100644 --- a/arch/nios2/include/uapi/asm/Kbuild +++ b/arch/nios2/include/uapi/asm/Kbuild @@ -1,5 +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 Mon Jun 12 03:27:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 103585 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp13284qgd; Sun, 11 Jun 2017 20:29:30 -0700 (PDT) X-Received: by 10.99.99.65 with SMTP id x62mr26905805pgb.211.1497238170089; Sun, 11 Jun 2017 20:29:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497238170; cv=none; d=google.com; s=arc-20160816; b=RJe5hGYvBw1Tk6XMGHlteL785FjsyyEPQi8K6sC7w/5O8f1s8lHY9qnO3lY5R6PpSW fGPTgXl88ETXgPIkl6B4HMrfTnAE1UwS4AqCkJxLDsSrXvgxqjtRjJPCphsuX6y+9f+Y 0ZPW3bOZJaOfMp+7V++Jhd/60hX4Xggg5RmqLgz5sVLyN9sH8wOKDXooQFrBfeadAiYR YILA0dLCt9zVeyb9G+7hH4gSyn72WyCWMGpz2XTFNxjwSqp1LpCtT9UttsXZ1RY+zVJ8 KuT25x/N3HOJz4XwuupS26pbac/FpXpaTWTx5wNpv6WQgnWIOaRe6p78D+63qsKKcjdn 9veQ== 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=+XHDxCC9exOZ5jXY0TGzKz88G+i/IsNwOTDNrSAwsic=; b=Fj+KWNlMcyrsg7dfTJlvUFn/pD+hl1d/uDhFokxemfzv127z2Gk1vTm6vpTEMpm+lI TuHK0NLTe9GgphKKXKQNTXjnj+lc4epud4tUCvJ4lSHPjhnQbDXIKeW5zrabR3zWCu/M zJ7kFbIBs/4vDejJFm/Xs0S9IY1x2J+R3vnVWgiaN1654dyszphTKoEJDkDBf9td6qaV pulOnttLUYkt/LXhBQI9tlPbByxc8MeM5gCz7DCkpA6j29SY9YzkwyR38JXdzNE2LgEU eA1NAUN4vFU5sxyAb63x+NhlRMC4YxGeK/goOHzuPj0S7V0fx/v8WyEM3/W85dzY5VuR 0aKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com; 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 w13si6095706pfi.382.2017.06.11.20.29.29; Sun, 11 Jun 2017 20:29:30 -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; 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 S1752354AbdFLD3E (ORCPT + 25 others); Sun, 11 Jun 2017 23:29:04 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:65442 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752329AbdFLD3B (ORCPT ); Sun, 11 Jun 2017 23:29:01 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v5C3RXPI001077; Mon, 12 Jun 2017 12:27:48 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v5C3RXPI001077 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1497238068; bh=+XHDxCC9exOZ5jXY0TGzKz88G+i/IsNwOTDNrSAwsic=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SNf4iP1v3iy19ENBoi7sP2nD16x6t5TFW+1hTP7ccKgPI1tBAk7LI/ZT2R+U/5UMW 8K6Mj3AmtMnbOgNGiIFahgsKMrGlbkyN54O82oGdzXeCHDs2bq+aKB9Xq1WfG+PP6W VrV8/zMnTvY8S4WRbFZ6EYeU7bIaXTGZ4tZg9T2uERv6Uu8k7IQCBCQPaE9Kl0un8D i4NkRrn9GaVRNi4VcV0QP0HBlEFd7tRXQzk556aLynahwanGufSlZ8ocNg9SN1paPR Y3yWJ/+5YljOmPhAbCcIYb7BCJkVEqA3A6VUeLumlgchCv1cvy8BpQwQdBAdl+T1Dm MHLk4fwqce99A== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org, linux-arch Cc: Masahiro Yamada , openrisc@lists.librecores.org, Stafford Horne , Jonas Bonn , Stefan Kristiansson , linux-kernel@vger.kernel.org Subject: [PATCH 18/27] openrisc: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 12 Jun 2017 12:27:12 +0900 Message-Id: <1497238041-7011-19-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497238041-7011-1-git-send-email-yamada.masahiro@socionext.com> References: <1497238041-7011-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. scripts/Makefile.headersinst still need to deal with old-kbuild-file for headers listed in arch/*/include/asm/Kbuild, but actually exported. As the last work to finish de-coupling the uapi from kernel headers, move generic-y of exported headers to uapi/asm/Kbuild. Signed-off-by: Masahiro Yamada --- arch/openrisc/include/asm/Kbuild | 28 ---------------------------- arch/openrisc/include/uapi/asm/Kbuild | 29 +++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 28 deletions(-) -- 2.7.4 diff --git a/arch/openrisc/include/asm/Kbuild b/arch/openrisc/include/asm/Kbuild index fdbcf0bf44a4..5e209fcd9a54 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,56 +9,30 @@ 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 += 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 += siginfo.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 diff --git a/arch/openrisc/include/uapi/asm/Kbuild b/arch/openrisc/include/uapi/asm/Kbuild index b15bf6bc0e94..62286dbeb904 100644 --- a/arch/openrisc/include/uapi/asm/Kbuild +++ b/arch/openrisc/include/uapi/asm/Kbuild @@ -1,2 +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 Mon Jun 12 03:27:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 103579 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp13040qgd; Sun, 11 Jun 2017 20:28:23 -0700 (PDT) X-Received: by 10.99.122.92 with SMTP id j28mr40468802pgn.13.1497238103255; Sun, 11 Jun 2017 20:28:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497238103; cv=none; d=google.com; s=arc-20160816; b=Hbw/bT25SPyuXYes8PlDtJTpekozglgdKrcZkSWOpWO9DQKYSm0jUmEfqvws5kCW68 jMT8tRtvR26Z1BGIhHxzTh+wcI4to2RBCIaDOv4fgISRvzLvQ5JBcazx69TZ7tcwXZ47 XIlAALbSGkamxjdt0/pvHw20gaUJv6pt7dkSaAYmSCBtElNHBx6HPsZmfyk3Ski58QSf +p7gU+lDrEUhySH+AFyxDhx8xV3rOdVTmZYykt44DbmpqgJ+UjnOyhZQFF4w7BhUqsgJ cJYIvjX2Kn1/YaTmrVBi6F+WBZNmi9eIKtyun1noBRbcUTVoyQZqCdB3vWjf4HlkR64x T9Eg== 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=aM3Dj/8HywKbm1HdN6wzOwhoayaBhlIlibskwjUPyRg=; b=Kw3UWDUkMM2W5qlhqh9oHPSIpQ4aDBfKZCF9LIgrTAyzvIi/mSYO+a7eGqHo2sFpv6 FHsbOiJKg5QWDtIdQwg1BgfHOYOqTEZDcCqBL7eHyMQGWJrzvj/8gmGfpc0oXfu2RO/9 2GE7O9Di6ZlTxGT5u6qUvyAb3Q1UToUfzqry9lfd7XCC4GZFABqtrJyRcJURs6cZ+xto iIdNOyahJKARLHgy9qGlAO5Dxy3rn2hkJ57jdcOhNRjBdcmNAhuc0hKLHZ2zsnjcd6Y+ yM9owXtZGZidd9TPerQeSZi6Vveyzdu1YVT4WimhtnRrkgf2tbYsLZy9chiHl+R9b6zb gimQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com; 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 33si3866511plg.77.2017.06.11.20.28.22; Sun, 11 Jun 2017 20:28:23 -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; 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 S1752195AbdFLD2O (ORCPT + 25 others); Sun, 11 Jun 2017 23:28:14 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:64067 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752151AbdFLD2J (ORCPT ); Sun, 11 Jun 2017 23:28:09 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v5C3RXPJ001077; Mon, 12 Jun 2017 12:27:49 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v5C3RXPJ001077 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1497238069; bh=aM3Dj/8HywKbm1HdN6wzOwhoayaBhlIlibskwjUPyRg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=W8D6HKm0dVryCLE3joIpYsUFxC+TlVPsDf6F/DTFowXoVHdcAqXK/IbuxYl9JCnKO +DZvrt6yEwUI9N9gcQjso7Z5ChuqMJs0CtlXYsR2GN5rpcEg7iIfFCHRngAMM+8SuY m265p1zhoX9ikHzoxHNk3f8wQlMjlK9Qvusx4PsznUGv+UeW8FElPHMQeKao7IyJCI cCAJkl3btcdZJdk+D2UUI9G5nIygxVwsv4MZCqI3d1/dHWW+BlcLavgFBujZvL7/ts IdUbsj8YyweeqYrZ7uDBsWWzLvc3SAtpjT2IZqkqRctHSrTIZjd+UJjX64r/ZuimHW FILiSCNdl9+EQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org, linux-arch Cc: Masahiro Yamada , "James E.J. Bottomley" , Helge Deller , linux-kernel@vger.kernel.org, linux-parisc@vger.kernel.org Subject: [PATCH 19/27] parisc: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 12 Jun 2017 12:27:13 +0900 Message-Id: <1497238041-7011-20-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497238041-7011-1-git-send-email-yamada.masahiro@socionext.com> References: <1497238041-7011-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. scripts/Makefile.headersinst still need to deal with old-kbuild-file for headers listed in arch/*/include/asm/Kbuild, but actually exported. As the last work to finish de-coupling the uapi from kernel headers, move generic-y of exported headers to uapi/asm/Kbuild. Signed-off-by: Masahiro Yamada --- arch/parisc/include/asm/Kbuild | 5 ----- arch/parisc/include/uapi/asm/Kbuild | 4 ++++ 2 files changed, 4 insertions(+), 5 deletions(-) -- 2.7.4 diff --git a/arch/parisc/include/asm/Kbuild b/arch/parisc/include/asm/Kbuild index a9909c2d04c5..e26348d52ecc 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,11 @@ 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 += 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 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 Mon Jun 12 03:27:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 103578 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp13039qgd; Sun, 11 Jun 2017 20:28:23 -0700 (PDT) X-Received: by 10.84.229.8 with SMTP id b8mr54928435plk.239.1497238102908; Sun, 11 Jun 2017 20:28:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497238102; cv=none; d=google.com; s=arc-20160816; b=rwm7aFM8VEgRmdnPF+CXckccBhpyhyOJ3SNfF2tmCBdWPYA+wLVrRP/MjwZfbKxiDs 1cHyfMf3dHkxyDan2Cd/DcHFGkG1ptLLKD9vRO/rDoHVwSKzPBeara2MYF08gClIV8+t F2nBRUw0L3LUBIvCQ1XqCdvrOFbZorjIetvDrU9lITEEsmJKpHF2/VrUuReRkXuR4IHW oVs9ETSIzCt8lr6UVohh5fr+WaSRWmnfdU0fi2DczZNrTSjmcsNvjZg83LrzCY/S0QNu gdpQVE1iFXbSyxM3NvfpDYPIGHo3YR3kY/5nuqPZ3dijt5qmUKEFYMqI9O4WKL0y8caH 3HfA== 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=eSNG2erRQ+ynYiGe+7544KAW5Rdx11F79GS9jdsvBvY=; b=qPHdum9XRvTJvAlhPgQbM4kGpW4hvCRzwnpbDvcr+/WlElv7jGu1VdKkYqKlHB3xr0 DkOG2FuKHbKnbQSUwD+bW7UmUWJKhwXCUpF0H6VNT4d/lDOr9Frk1Xf8Pmh57+gxhCAx +ZAKIlj3cJgja+OdTRkXPVDY/Ro+HtOyI4eRqQCfSoICfn1dsN7KdHYguwzpD1rEPEEs T3bE3MaHTudw5hUfDaaT0ALYGr+Et1aq/+nCZ4Gr2WAA/HfCMUJRW2wI/VQAtnI50VL6 r56sjl2vNCXT8svCeShcKdxvpyEULbABjQzN241ERUTrpVl7ec+Cgms3gcrMmkcc9eoB qrHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com; 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 33si3866511plg.77.2017.06.11.20.28.22; Sun, 11 Jun 2017 20:28: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; 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 S1752181AbdFLD2N (ORCPT + 25 others); Sun, 11 Jun 2017 23:28:13 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:64083 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752156AbdFLD2J (ORCPT ); Sun, 11 Jun 2017 23:28:09 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v5C3RXPK001077; Mon, 12 Jun 2017 12:27:49 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v5C3RXPK001077 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1497238070; bh=eSNG2erRQ+ynYiGe+7544KAW5Rdx11F79GS9jdsvBvY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yhdwFplDirQVNB9sMt2I5k1YMd3qyZGUmHCkkYA2vroSz/veqA+w1936mBFQ3Cg7o 6lhiPXzD0OubbIhDzLTHucta5B0qdpXeyAzF24At7HWVdM42IPZIo4/0M/DoPHCRIy n+oc5D6DBZLRb0HO5ffOvxZR8IAsUu5xzFOPFtM5nbBKbPIlXgOGdHhf10UazlElX3 gbFOqtCWcMBJWxsp979caLVAPvVrZ28fllK+vIBpo2y3K+7GIah9FSy/uL3gi6sK8X Q8jUobVzfot+6F5S23TSTiNA0VZFOH/qaJs32d5b1mQTxq3OtHGfbGqJjuNJVi035X B3oa8beoYASog== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org, linux-arch Cc: Masahiro Yamada , Yoshinori Sato , Rich Felker , linux-kernel@vger.kernel.org, linux-sh@vger.kernel.org Subject: [PATCH 20/27] sh: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 12 Jun 2017 12:27:14 +0900 Message-Id: <1497238041-7011-21-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497238041-7011-1-git-send-email-yamada.masahiro@socionext.com> References: <1497238041-7011-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. scripts/Makefile.headersinst still need to deal with old-kbuild-file for headers listed in arch/*/include/asm/Kbuild, but actually exported. As the last work to finish de-coupling the uapi from kernel headers, move generic-y of exported headers to uapi/asm/Kbuild. Signed-off-by: Masahiro Yamada --- arch/sh/include/asm/Kbuild | 20 -------------------- arch/sh/include/uapi/asm/Kbuild | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 20 deletions(-) -- 2.7.4 diff --git a/arch/sh/include/asm/Kbuild b/arch/sh/include/asm/Kbuild index cf2a75063b53..1a6f9c39feef 100644 --- a/arch/sh/include/asm/Kbuild +++ b/arch/sh/include/asm/Kbuild @@ -1,40 +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 += siginfo.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 b15bf6bc0e94..e28531333efa 100644 --- a/arch/sh/include/uapi/asm/Kbuild +++ b/arch/sh/include/uapi/asm/Kbuild @@ -1,2 +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 Mon Jun 12 03:27:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 103600 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp14286qgd; Sun, 11 Jun 2017 20:33:44 -0700 (PDT) X-Received: by 10.84.193.36 with SMTP id e33mr42956632pld.293.1497238424019; Sun, 11 Jun 2017 20:33:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497238424; cv=none; d=google.com; s=arc-20160816; b=hDECe74hwime2FQ2oCQMC1iczL/NdK+h48ipV/O6oMYbxHVbrrlX26vx1G0xI0k31s GMIteaypDO4rtEL5Je8tkzcjyQzxJ/QAN4guU3XL4uemD8Xk3L0HvqmH5+RCJ2tNZXG9 rxgkqT+g9OULWbzFKd6m17LG2ITOEWyheKUi8IS0aLQDAyYJTRMYuJRIt+okW4iEcEHx G4qP+qgOH1HxX9p1ZGY7wR8kKIzXfvexXl2loOj2giCKtZcxbsgHiiiyY4N1sjf7BxYH 4e/8JEmjq8E/4Bqtv67B5MImpl4mN4iqzO3aXEdBJf1h986QkKfgpERm59PTgUqLLaMc invw== 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=unOcbazyxt4hb3Qfe3E/6IBFbLoTHmdMTsYN7oY5Zpw=; b=hyQ8inm91NwuiIa46idAPfqkVsNiG/hkxmi+FaXvaRDP+K9nFkj15MLNqOboNs046Q IUAg4ujkrTcrfjLApS5bCSlrW9825cfxrKEapoTg4Rn7M3dwrzEqAiEtnyb75oX+ER+t awG12SyJPwaggVcbvnqB/f/1qjkSUwyWm7qM7Bm86enIACUHbTxRPLa7+oWDNSvd+yw4 u9ufqdJXogXQnvKQuMpfOtnAOwX7H2TgMjlyLVb7wOYZ8fnDW50D3Mm3JsgDsglEkM8q 6ZudXPVOJ710y2QD7ekRDMSN8ced/LW5hmhCklLndT4yK53/OQdfqr3GvQVUks5pN1to MJbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com; 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 c25si6092309pfd.312.2017.06.11.20.33.43; Sun, 11 Jun 2017 20: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; 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 S1752454AbdFLDdg (ORCPT + 25 others); Sun, 11 Jun 2017 23:33:36 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:63887 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752018AbdFLD2F (ORCPT ); Sun, 11 Jun 2017 23:28:05 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v5C3RXPL001077; Mon, 12 Jun 2017 12:27:50 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v5C3RXPL001077 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1497238070; bh=unOcbazyxt4hb3Qfe3E/6IBFbLoTHmdMTsYN7oY5Zpw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=e78Ed02yWaqGAPcgV+QlrKtRibJk6UE8guDNr83cfvQlLhB6TpF22V4lwd7fkg4gN Bf9+1ghmaL9Wq+aoQZcmT744PN6hYsaUxCKjUvemFKFYwpcx8o5E2lRiwtGW1UT7P/ a2nDRW4DuuVSmkO1pDCfRHrTd3UkSHeGz73TTY8VT3CssqgObzgzVGixlC+klskOEN ceOpBEMAFl5+Rx7D9KHp6TQ1oCf8jRYoTX4N8zdoRLq1gWHRgDSb/qyC7bsJyz1Fg2 vEZyd2ZAH2U0Sp+zFFhzDDQ8Hf5Ds+xVKWOzgtVkla8Nb50h14tTI42HKm3XVqwHY/ Vc9grPg74TBCQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org, linux-arch Cc: Masahiro Yamada , sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org, "David S. Miller" Subject: [PATCH 21/27] sparc: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 12 Jun 2017 12:27:15 +0900 Message-Id: <1497238041-7011-22-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497238041-7011-1-git-send-email-yamada.masahiro@socionext.com> References: <1497238041-7011-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. scripts/Makefile.headersinst still need to deal with old-kbuild-file for headers listed in arch/*/include/asm/Kbuild, but actually exported. As the last work to finish de-coupling the uapi from kernel headers, move generic-y of exported headers to uapi/asm/Kbuild. 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 Mon Jun 12 03:27:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 103590 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp13725qgd; Sun, 11 Jun 2017 20:31:07 -0700 (PDT) X-Received: by 10.84.134.36 with SMTP id 33mr7349587plg.29.1497238267509; Sun, 11 Jun 2017 20:31:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497238267; cv=none; d=google.com; s=arc-20160816; b=pj+yFc6WqE+XziIhN5di51exa6oO/XJUT/a4T50mPbU+aGqUpyZ6yrBrwaYoWgTYdS +RbZPGgJBjX/ezImJEcBfu4YvFe1kDenYyBLAUan3Z0BH992msHQQ6DAIGO/4vn4kADn tNd7pwui3XVfHC+LX/EJuRqXE5RA6uYFQKycjJ7HcZRKtF508GLlpTR5GqrnWxEiI6bH Tsd6Mio9g0YaqWfoTZRBwZuivyyMMmUuTugEscG4vtji89veBUGx1or+sp9NsPYT/oDg e3ju4JYM3xzXHCa/1VHM44qVcbXmkmBILQNRVsxuvaLag2o1FepFzkfVJ1DTFzPp8wzJ q0zA== 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=UevwUSmKI6Xii5TB2LxlZLNPGGB/78ii8md7Ym4Sh/k=; b=RXWXzbhY+1cbHiTx+kdCRt61ezh40A6gO3Ssl9m756MKIZnKwAHNrHTMVUE00F28fA gNI3wdO4kNx8/1BH4QsDijF21SOg4bNhT8c0L40xqlruqY/SGQvwbVV1EahV5JdhxLIr ruHyLIfDQ6cGaR0SsvIA7OELemtQWv2SMAmDuX2qUi/IHtQPMc+/0AzJ7vYSLQaS4Aoj SeGki/XbiSwtGDZqdhdphVFHMfD7BFvvAE/3/AoNkvjNPdLbHMFagpu1rxasBUXIIdi5 C6BVohnv8A7lYO0TWb+Fg9dN2G1NNDBZF/Mv240BOhmHaFTCi2xyHeSkYbD0cNsj3BjH tHkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com; 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 k6si6092613pfc.198.2017.06.11.20.31.07; Sun, 11 Jun 2017 20:31:07 -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; 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 S1752286AbdFLDaw (ORCPT + 25 others); Sun, 11 Jun 2017 23:30:52 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:64004 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752139AbdFLD2I (ORCPT ); Sun, 11 Jun 2017 23:28:08 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v5C3RXPM001077; Mon, 12 Jun 2017 12:27:51 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v5C3RXPM001077 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1497238071; bh=UevwUSmKI6Xii5TB2LxlZLNPGGB/78ii8md7Ym4Sh/k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FVsS5dPkiXTg0207BeYL6NUF9ruLlmKLVdBjNgEFuF+4Vyrpj0hkGFJ0qVN6iSvK+ E/BWzFNtuslKTS9iqALOrRtx/7GxdWRBVPl/tDXzRemzOjvZxHFfE1jxs7Lg9dkPIF hyRMKVU+xOCgJMcI6cyeivNOZ0O20IhZLuDZog0bQG3krduqV6ofQtxE6sYrOiI08J 2ZsOsEX777Yi4JoiVIHlIO0pzT21DG0coTiI/i12QHtk1a/gMd6brOg/fqkgV86t6/ QnzniZDJBMBD9u7t14MYje6k7ToDQ3vwz8FpRlJrAaYE4KBr7mXO8Mr0A6hnHgQTtu z8s4KSaiOqW0A== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org, linux-arch Cc: Masahiro Yamada , Chris Metcalf , linux-kernel@vger.kernel.org Subject: [PATCH 22/27] tile: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 12 Jun 2017 12:27:16 +0900 Message-Id: <1497238041-7011-23-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497238041-7011-1-git-send-email-yamada.masahiro@socionext.com> References: <1497238041-7011-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. scripts/Makefile.headersinst still need to deal with old-kbuild-file for headers listed in arch/*/include/asm/Kbuild, but actually exported. As the last work to finish de-coupling the uapi from kernel headers, move generic-y of exported headers to uapi/asm/Kbuild. 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 Mon Jun 12 03:27:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 103603 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp14447qgd; Sun, 11 Jun 2017 20:34:32 -0700 (PDT) X-Received: by 10.98.70.4 with SMTP id t4mr43928602pfa.92.1497238471931; Sun, 11 Jun 2017 20:34:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497238471; cv=none; d=google.com; s=arc-20160816; b=TjfSgC4vs0ZPT/871v/Xdd3u9Y14/6Ean19fXJ/YXo174jhlDCnsnJA0hOEy8Z7JR/ VpeFryl28c9b7c9S3tp166vQ1GAWk8poskehaptwsS731OGtQuIwyf8tZMGQV6QQJgC6 k0J6BhFqlpX7dxEpPVKZ3VfGKhe0VObaPXJGq8VdQMBd0ThEqxt+y+bXi2FWBbb/c+hW 31LM1C829MwwSwRUsUu7kt3NR1Y6GYjiQRK0T1vT4ymUEvrdH5HBmiGyxBdEvng1hQNF 6xPkYV57lGdpJ1Ty7lUsQcY5Ox6VTbgUpaZJk3dKXSgOui9izYJ94GqBWzFhSh9cVyCf G6UA== 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=SlVwN0ns5sj+a69VSa38tYOd/Q/fIxPTYgDn9Y2Bu6U=; b=nSkFPyfhgk6VW99YgumnJwkaUVzesLFwDcFTiL312MZ/LsV3XmCH619XnjQ2elYcCI 7kU50IXNVWJ079XAnwlu5brJz7RQARFUogL2yiwaki8OEG2qFJ8FZQe7lWW7Iu8rYtOQ E9Exa5CCs8B6T4tCcGbsbPTExlnGh7auxzoV+Z+c5SqJE4KAfWMy4d2CiT53LmPeoRDJ M7HUSfRhG+vvRpyqdmKirleFczGfnfY63DOpXVYefX9e7Jh2j5/sTZ5S+7rRhShvayyu 9KdK4OpQG4GKDEk6sjMZfub4M5q+KlNZyN1wvVKuE9a1nmDMQSOJvA87N8tUA/xi/iFk ip0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com; 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 w61si557294plb.153.2017.06.11.20.34.31; Sun, 11 Jun 2017 20:34:31 -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; 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 S1752333AbdFLDdc (ORCPT + 25 others); Sun, 11 Jun 2017 23:33:32 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:63917 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752052AbdFLD2F (ORCPT ); Sun, 11 Jun 2017 23:28:05 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v5C3RXPN001077; Mon, 12 Jun 2017 12:27:51 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v5C3RXPN001077 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1497238072; bh=SlVwN0ns5sj+a69VSa38tYOd/Q/fIxPTYgDn9Y2Bu6U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SEc0K+vWoafgJXADwuGNzKEjUG00/EBGpOEkqqnmKeRE2kXX078KcbKPXKiTII8zp x8dIJBXNuCSyTpK3PXCXpvRTSznzUotHC8H1Qo2Ao4hV6ZQxEpgRmwzYf9SfLk7sYW iwiiJZJgmURIknH/lSVAMQ8deCHPmz7MQ151jWD090zVg3HOL42NFAdQNY86ZEfYsn KZYrT73jpq0MftgXSbdWgnUSjW6IAqf3XSTuiDzr2m/kU5GFtTvMAS5HJv6UWinUxG 8rcvzH3Ltxmj4TauYGMnyA8+NhCrhHrd/vUeeVP/diQYBtS3lNnXTfF0DoAqSxOMam x/UpE4O6hrVxA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org, linux-arch Cc: Masahiro Yamada , linux-kernel@vger.kernel.org, Guan Xuetao Subject: [PATCH 23/27] unicore32: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 12 Jun 2017 12:27:17 +0900 Message-Id: <1497238041-7011-24-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497238041-7011-1-git-send-email-yamada.masahiro@socionext.com> References: <1497238041-7011-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. scripts/Makefile.headersinst still need to deal with old-kbuild-file for headers listed in arch/*/include/asm/Kbuild, but actually exported. As the last work to finish de-coupling the uapi from kernel headers, move generic-y of exported headers to uapi/asm/Kbuild. I moved "generic-y += kprobes.h" to keep the entries sorted. Signed-off-by: Masahiro Yamada --- arch/unicore32/include/asm/Kbuild | 31 +------------------------------ arch/unicore32/include/uapi/asm/Kbuild | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 30 deletions(-) -- 2.7.4 diff --git a/arch/unicore32/include/asm/Kbuild b/arch/unicore32/include/asm/Kbuild index e9ad511c1043..fda7e2153086 100644 --- a/arch/unicore32/include/asm/Kbuild +++ b/arch/unicore32/include/asm/Kbuild @@ -1,67 +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 += siginfo.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 13a97aa2285f..759a71411169 100644 --- a/arch/unicore32/include/uapi/asm/Kbuild +++ b/arch/unicore32/include/uapi/asm/Kbuild @@ -1,4 +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 Mon Jun 12 03:27:18 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 103587 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp13476qgd; Sun, 11 Jun 2017 20:30:16 -0700 (PDT) X-Received: by 10.99.160.17 with SMTP id r17mr56499802pge.95.1497238216499; Sun, 11 Jun 2017 20:30:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497238216; cv=none; d=google.com; s=arc-20160816; b=GqR1z6FHE+dafHzCN2fiDJ8JcB65bf2jBx278moXF51ZgDrz2xaaWYPds0tnfIJ4gG 5O2n2uxDa6OdaRBSeV+S6cgVbQ93+uWLtsb0cPtb++3EjjVM3iuGFmusYyPIOIwz0M/5 +WRITN3GoGuGrKC6G8WBrzvQV9SpIKx8rog6zPWqLu9mS/TLmzdXw1MTnhBxyOj//M07 LDAVM3/3BZWv3dYdeI92m1Y0X3l24VZ3+dXsMhxV76561TqZ4iwRIiy5oP1EAU330OBD l9No4i6nqFh0RauCU1ao7DE9qF2rbdd629qaTHf8aUwRXQQTtuqD7xHUzMuSV2xAmkao zUbA== 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=myMxmzKrFnywxEVKZjKGE0jnewrCL6iz7eUxmNQ8K9I=; b=rkbfe+qIL3dBI1ilNe92M6uv8/8884z6QyO1cW03Qkl5iI91wsAj40yhEIPJnK918+ C/jxdnd9Veg8Y6u6imqO2ExxXT3ZmvzqYnNNpfdy9uj9FpVWmT9x/g2TrBgbZLbil0c9 UKVgpWd6uK7mXC7R1bvgO8SA1IqWCz9XFHfPhsb7Soz9a7SorXmYkx7ULBM15RTETNQg k5HIeTm7rmfmEcUbUAPWTKqraJquc9r7ms+ry8/y/jh/i8Y67kAWSWWWJmgf++BM/4gJ XTyOHPnA75KEtXfNZG/pBwO9bjXZrMOMFZYaeT2AjOi0XxawV8QdActVBefI8d879HLg qErQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com; 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 v24si6114801pfk.374.2017.06.11.20.30.16; Sun, 11 Jun 2017 20:30:16 -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; 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 S1752465AbdFLD3y (ORCPT + 25 others); Sun, 11 Jun 2017 23:29:54 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:64797 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752228AbdFLD2b (ORCPT ); Sun, 11 Jun 2017 23:28:31 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v5C3RXPO001077; Mon, 12 Jun 2017 12:27:52 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v5C3RXPO001077 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1497238072; bh=myMxmzKrFnywxEVKZjKGE0jnewrCL6iz7eUxmNQ8K9I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=U2WvHYVAJ3RrikQ/0YBHgriVQ7TjQS2CSR/yUaVnpKNriSFU9RHtyE7s7hpSGXUWc GEzuf8A8LzE9uCQCZ2moueTbdIRkb5h6mHjHZKXQGNQRprDVjSLO42EqVGh2R82n7p 2o0y6N/5z47LCuCSPYXtLLc1/DBNW5crE3J5ml8iU6YsR5nCW8QIrTN9S6XZE4KqhP dc5nLSFN1XPXxXpYAtYQ79pfyHCmPnBnjtUdVW4zJ8+eZElYS+VkrqwoagzO3Mnchy cgzHoKMXyHI0satCDOyzfHHItR4DEFzfMkuMAJDZTRMzQLUrkRlInt4pEt1KIh2O4r qiDBTmShG5S4w== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org, linux-arch Cc: Masahiro Yamada , linux-xtensa@linux-xtensa.org, Chris Zankel , linux-kernel@vger.kernel.org, Max Filippov Subject: [PATCH 24/27] xtensa: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 12 Jun 2017 12:27:18 +0900 Message-Id: <1497238041-7011-25-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497238041-7011-1-git-send-email-yamada.masahiro@socionext.com> References: <1497238041-7011-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. scripts/Makefile.headersinst still need to deal with old-kbuild-file for headers listed in arch/*/include/asm/Kbuild, but actually exported. As the last work to finish de-coupling the uapi from kernel headers, move generic-y of exported headers to uapi/asm/Kbuild. Signed-off-by: Masahiro Yamada --- arch/xtensa/include/asm/Kbuild | 9 --------- arch/xtensa/include/uapi/asm/Kbuild | 10 ++++++++++ 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 cc23e9ecc6bb..0b408dc2366e 100644 --- a/arch/xtensa/include/asm/Kbuild +++ b/arch/xtensa/include/asm/Kbuild @@ -1,20 +1,15 @@ -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 += linkage.h generic-y += local.h generic-y += local64.h @@ -22,12 +17,8 @@ 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 += siginfo.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 diff --git a/arch/xtensa/include/uapi/asm/Kbuild b/arch/xtensa/include/uapi/asm/Kbuild index b15bf6bc0e94..a5bcdfb890f1 100644 --- a/arch/xtensa/include/uapi/asm/Kbuild +++ b/arch/xtensa/include/uapi/asm/Kbuild @@ -1,2 +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 Mon Jun 12 03:27:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 103601 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp14287qgd; Sun, 11 Jun 2017 20:33:44 -0700 (PDT) X-Received: by 10.84.175.65 with SMTP id s59mr53218011plb.20.1497238424395; Sun, 11 Jun 2017 20:33:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497238424; cv=none; d=google.com; s=arc-20160816; b=gKhO3EuRpC9+DZWqmkCA+Crk4DtEi08CvmTYPnKpeMp/pEXORJb7sPk2VNZpt9gQ/B K5Yxta5YVjP+oisaEOMwUmV8zOktT0Ix3nJiePKDVNVBaXwQv4zEAooQ4DcbREhJ1Oy+ jJQxNmEFz0NoTtDbIpUlxPXfMmhIS/X9HRwOa/vPknyIdoo++NBDq6IASk4FlozmcfVi EPzwf5g2gdBXMpI0nxCn7wKWqkMc8zIKL6LIO4lwItBpbc32jqPYal915WHlSLERpWNt pL+q86NHs/MSnQ7AOscQMADhjKDaoZlUyqwQSEjzn/zkXB6TWK/x1cgU83xRHuIY73Ee tZ8w== 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=MWYLajm/mJqXGwutuYh+a4gMK5AL4+5mBrLCBwKA+Zk=; b=qtrvA+ydwg64vDXoAzxFxuRQKKub3JFPTDLbPoHjhVgqO4HzA5lE9zM4OM9JFogqX1 qbXVeB9v73Xm8OjrZdSVHHFntFrKIspzh8ODiRh+74crrub2XncXKva2uJRt6XwPk2RY Q0wa4rGCe/0yIJH7fMYkVfpuLN8Eb2Ub3AkEPT7npuuRuD8qCmYqNaM15cfRFGu1unlX 2Isf16xx8yjQFW6FaJhLvMmvN+d3LnSs6tMnQsLL4qOusH37kwPO1DBPfozTpEcTYRBn u6f8ZFcNbEuuV3YDJSyiYys0yWQ9N2BT5yYbQcQ0xJUuAF1yDAkaQD04I7tuo7/Mek8F iwdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com; 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 c25si6092309pfd.312.2017.06.11.20.33.44; Sun, 11 Jun 2017 20: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; 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 S1752537AbdFLDdh (ORCPT + 25 others); Sun, 11 Jun 2017 23:33:37 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:63911 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752046AbdFLD2F (ORCPT ); Sun, 11 Jun 2017 23:28:05 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v5C3RXPP001077; Mon, 12 Jun 2017 12:27:53 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v5C3RXPP001077 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1497238073; bh=MWYLajm/mJqXGwutuYh+a4gMK5AL4+5mBrLCBwKA+Zk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Jjn+NYjjq2IX4rRECMUpa3RWGGjEEUxBRYLDWtoczxMdYzuWdLIAgZtyVa3TGmDC4 4H8rZ2iuhRraGPpm4NcFXlVOtPOujvcvyzpa1M8JahCoqXjRFKuinclmc+mJekV15l Mq7SB0mpdpCECbW6azOxusdgW15ATTYD9IOrRLgevOP708+3tAh2hpecvf+G5mGgny QBGxt9+ONTyq4XXhxW2GLH5ePfexxEgAWFeMkqZItyb1JPkfnflz/6QZ/Eh75/edDJ shGMgPvqKD3F0bc/omVzqxJgNceAcLs5x0EsyqoBr89oXUrKGXJEmPBM0KrDsblAqk FU+MnDq4WE3vg== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org, linux-arch Cc: Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org Subject: [PATCH 25/27] kbuild: do not include old-kbuild-file from Makefile.headersinst Date: Mon, 12 Jun 2017 12:27:19 +0900 Message-Id: <1497238041-7011-26-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497238041-7011-1-git-send-email-yamada.masahiro@socionext.com> References: <1497238041-7011-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 b3135b76fac2..d6be5e482636 100644 --- a/scripts/Makefile.headersinst +++ b/scripts/Makefile.headersinst @@ -33,11 +33,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 Mon Jun 12 03:27:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 103597 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp14125qgd; Sun, 11 Jun 2017 20:32:59 -0700 (PDT) X-Received: by 10.99.114.89 with SMTP id c25mr9390783pgn.14.1497238379539; Sun, 11 Jun 2017 20:32:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497238379; cv=none; d=google.com; s=arc-20160816; b=lGau7/XiUMzm9PsjqJ3koOxZbE2h6DIDm2VTf7lKrWCUfKPTS1UKTq8YetpTY2R6qG a4k92YvdHNplEZUcHiLCoNlu+aAqXNzwZa8vbkj7zULm1inzdBOi1wsIQe52RTKEColD I6IJtvCmtZt6hkMT6xwwrbd7fs63Lvl3b7hmIKK7iPJphHjMcG0bweCVHeN4tGnmnom1 STiHZYCr4faZr8iQM02J+Q5CZztnQeLJ0d9bRnLU1aeFV2hYcMRQq70H5R6yw8jMyXiU LDZ3kNxYgS8PebY46v7ZNrk0wYE2JgQzVYMq6QOULDlAXiXY2oUIzktaIWXkkfwHpQg7 vV8A== 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=8db30qXKzzoNuS5cB1+HZ3Ff5IhLDPuk13UEcfMVa1I=; b=MGNzYuy+HFtGEccHO9AgXIDOwlcs7rPIZ7WwHGa3qTeydIUWFS+VtmR8IkIxLhbEfD 1UH6MG+3HkrjC26coCAYDekbX0b5CJGPpqjCHsrFOyRz6a/Du4D2dmzZ3ZGytWIAIYtk Wco5nDSd6huRFSVx0AAwwiGEm2NJhdcTUFcqexMrnj7TAGzw7XNCfZ6MP4G6cV6cy9JS ugEhTll3wFwdv8QpNRldhbnQfqZCq2yZlWjHC58B205mW/rypcfysFFmpaYVZVf0F1JV HQysOpYo/MPQoAmf7vOjbQuwwKsvVCDPBQDJJIGxn0FbkAZRsf4KVuJxTcOd4+6JEuJt DOIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com; 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 64si6149360plk.286.2017.06.11.20.32.59; Sun, 11 Jun 2017 20:32:59 -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; 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 S1752534AbdFLDcx (ORCPT + 25 others); Sun, 11 Jun 2017 23:32:53 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:63924 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752075AbdFLD2F (ORCPT ); Sun, 11 Jun 2017 23:28:05 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v5C3RXPQ001077; Mon, 12 Jun 2017 12:27:53 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v5C3RXPQ001077 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1497238074; bh=8db30qXKzzoNuS5cB1+HZ3Ff5IhLDPuk13UEcfMVa1I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UK2W62RoJlrfSz3X2fs2Qiwd55pHCO3qf42RH1Wfaq/uahO/8Scg1SFfK1CDcoG0F dzDoYAJyz7v2W6V9rb1Aod0CD7hy1mFMECW5FYqfhIijWpKc0V30Mo8LG0qJ5oMAzz TtJY3GvZVrtgUVkvaW+btiTE9h3dwktZcnL6QWnJSB4L5UHcdiPWWWODSoJdjBpPqJ oe3PxaBHQmuXTqFxaRVAGNUgxqyr+yHloOJWL8UUCAaWIuGfXNuJEy5MOnGlyk+wfJ 4C2uhmDvSstASA4MvOFbZ7xyNH4O8aKrauq36QHVpgo1OoJNGvoIq7VZE1tdi3eHyY BxL7zVsvj/m3Q== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org, linux-arch Cc: Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org Subject: [PATCH 26/27] kbuild: split exported generic header creation into uapi-asm-generic Date: Mon, 12 Jun 2017 12:27:20 +0900 Message-Id: <1497238041-7011-27-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497238041-7011-1-git-send-email-yamada.masahiro@socionext.com> References: <1497238041-7011-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 1bb8c07db134..4fe556511c0d 100644 --- a/Makefile +++ b/Makefile @@ -465,10 +465,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 @@ -1151,7 +1152,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 Mon Jun 12 03:27:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 103594 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp14015qgd; Sun, 11 Jun 2017 20:32:26 -0700 (PDT) X-Received: by 10.84.194.228 with SMTP id h91mr7022400pld.171.1497238346834; Sun, 11 Jun 2017 20:32:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497238346; cv=none; d=google.com; s=arc-20160816; b=aO+T9BHBqQjnmCkl4U3MiC1/duem5WhkVSjPorXyOOUdHZP71jJh9JCN4T153GQOKo u/WgmvTB9Y05wgnX6Y1wH+rP3VXC4QsKOp4F9JZMUHyf1T1uRasbq8nL/vv8j6Pv9tOS dwnaoGtmtd0WUBgEExhkZN4D+Ra86wo/2+XRkIBiLeK/oS+lhcL0F08IRK57s71Xo1XJ ZfukYnkneBC4mRMhU1szaoaQUq0LNpaf7qaFlubiZiYnwztBBCp8DGvJz36I9vxR4tBa mkQZXf/owfBy5Z15dGX7lPNILxnAj2q3ekPk82fs3doAB75CYX2mp7oPOTX5LlGja9Aw 5aTg== 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=fNLw+z69UthfUU8qttQ+tLKPP3swE2QlbsdvpYRKSkQ=; b=AhubUIzgabhLcf2eJbnMOShEyT7O41id9YOMeu/g3GSDZmA4uL2NTp2L8ZohWD3eJq enK/+TfScJKkx0RdtLSvPqcDd4lbiUnH1Dvud6xPUPeXgFsck+ZkbjbTWjYBJ4ZNVQ1s JiFgojZet2/SGyaHTJyCKPohJdzto/uOktaeB59aPVIbZRAp0e6JIdJCs6cyw4RJa/dg owgjjoRJfUZMT3KV4JYrkthPTv7EJUUKmL+OV+eKqbx8RSmR1F6tvGTG+LEhTHT1TGSX XDsgILf7W84TIhFx9kN4K5puFD+qFg+81/ya+39zjINDCTAhn3MVhfKKXs4yTHdNCOqG ehlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com; 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 i6si5968320plk.180.2017.06.11.20.32.26; Sun, 11 Jun 2017 20:32:26 -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; 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 S1752515AbdFLDcL (ORCPT + 25 others); Sun, 11 Jun 2017 23:32:11 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:63935 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752122AbdFLD2G (ORCPT ); Sun, 11 Jun 2017 23:28:06 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v5C3RXPR001077; Mon, 12 Jun 2017 12:27:54 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v5C3RXPR001077 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1497238074; bh=fNLw+z69UthfUU8qttQ+tLKPP3swE2QlbsdvpYRKSkQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VQxVvaWBnvL7LOQmQvoE6HQpWnD4kH6gPQk1NCvsyla3L+7lcFu8jdorbv+f+1pls D3tIDgRdEB6f9c1JNfifgFzhL8cHs0R1VWht1cy88qJ8IclFIJmclrueb/PPcUJiTX /Il0HiQKE2L1us+PU9fgct86tAL63KIpBCvyKLSXL5REChHyzJ47LuAkarVbHgmh5Q Y84vq3XpYBbWkxiy7tUssiFwzz4HKz7jKfsm4CzqptxhS+33ZbsW0an3KTKjXoM0ph 8UNgnYAMZjBrGQiNs8aLxxZVlJwnC//V3oPh7IxsJRr+WhwEb3qsddxu+RwoTMgthq H7hPCT9f4zD/g== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org, linux-arch Cc: Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org Subject: [PATCH 27/27] kbuild: remove wrapper files handling from Makefile.headersinst Date: Mon, 12 Jun 2017 12:27:21 +0900 Message-Id: <1497238041-7011-28-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497238041-7011-1-git-send-email-yamada.masahiro@socionext.com> References: <1497238041-7011-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 d6be5e482636..5a3da7c42c09 100644 --- a/scripts/Makefile.headersinst +++ b/scripts/Makefile.headersinst @@ -45,14 +45,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),) @@ -76,9 +70,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)