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