From patchwork Sun Jul 9 18:32:50 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 107255 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2540629qge; Sun, 9 Jul 2017 11:36:05 -0700 (PDT) X-Received: by 10.99.178.83 with SMTP id t19mr11293860pgo.34.1499625365294; Sun, 09 Jul 2017 11:36:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499625365; cv=none; d=google.com; s=arc-20160816; b=02sF6F1joUsB688Jar/HgmQh7K9S2XkoJPWx7y64EeEqzLcTha1JP7sOURYsUn4MDp dDXf2/eCa/e9tnaul5mUm4cUZ39mpAw2NHFL5cN7rops7afyoOr+wFso19iPyKPSLg99 VKQBf4RKKhVBsCSFNwx7OiZfKNCgrPx40v+p++hxxS3opp4aDEpnri+LfKLjn9FVIijj FWgTs5eGp3XzSpAotfc3q+uSzhdHTIUp8dmK7a8Y51xEUd9nHWkINHfNUznHVp/YOUeD fEdmx+P3I3LNkQxm4VZb5FvPTwS1wOGTDKFMmtrA8stsCF+rUVE9h82XnGSNhju7dozR rO9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter :arc-authentication-results; bh=ejaWj8yjG/D4oV/i2tfTWW5TmjbxO92R/hoaAI9K+ds=; b=fNE99fiXOa0qZO+YHmUtz9UtBLF1RAyYXIoXKSSnf+0xxEP0fXt7KeL6QuiYjKbvrF xhYUwS/zHB346emlsqzOHo6TVWCo05VQbDdCvltGgE0YNyEF6f0ppUm7/Ovd21OiRYJv MP+IHe4ztl43UWIo4ai1oEweY0Vo/2MhCK40BYbuc00iIeOqHh5DyXotNj1pKhSqG1OD +9SB+41Gk+GehKvnmDeo3j3RzHo6rqsWtPYBSuE1hZYCbRfIhN2NBKpHHJ5MK2Sr9Vl6 YEtYFz9rp+gxedoFUFygv1kcrteyFcNqNWgN32BbWsjnpdogqubhHw4ygiSyFxzSWtWB dZpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.b=Ahps0npN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s7si3228474pfa.472.2017.07.09.11.36.05; Sun, 09 Jul 2017 11:36:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.b=Ahps0npN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752732AbdGISdb (ORCPT + 25 others); Sun, 9 Jul 2017 14:33:31 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:45813 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752633AbdGISdY (ORCPT ); Sun, 9 Jul 2017 14:33:24 -0400 Received: from grover.sesame (FL1-122-131-185-176.osk.mesh.ad.jp [122.131.185.176]) (authenticated) by conuserg-08.nifty.com with ESMTP id v69IX2DE000353; Mon, 10 Jul 2017 03:33:17 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v69IX2DE000353 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1499625197; bh=ejaWj8yjG/D4oV/i2tfTWW5TmjbxO92R/hoaAI9K+ds=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ahps0npNz26gv+JE+5foj0B9nm9t03R3d92OYuLEofAnL1ETTdDAKp6/RtafXJNnT lyBZHzsBvvzGQzA/ltSTMl/1VVAwznQ+MGFr1VII8WnMauMESjeNbLoO9aahsWR4MI qtL474ilYmPlA8a0j1QZfSMM6ZgIdoFRLbG+BX13fA3joVDHk9s+Edcil5IIO7QV6S CAI1rLHzdQDukLx7g58gq+Sr/Wh/VpcKEAwDTytXv7os4QBFrQkNmpXv2hclrwUI73 wgKSy7qbslZgODQ8UZrPS23BXSTjRWxhgphs4cyioAieFhsyFtcYkUQvaZHXWuq30s 05mQKx9vCxf8w== X-Nifty-SrcIP: [122.131.185.176] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: linux-arch@vger.kernel.org, Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH v2 18/28] nios2: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 10 Jul 2017 03:32:50 +0900 Message-Id: <1499625180-8067-19-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1499625180-8067-1-git-send-email-yamada.masahiro@socionext.com> References: <1499625180-8067-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since commit fcc8487d477a ("uapi: export all headers under uapi directories"), all (and only) headers under uapi directories are exported, but asm-generic wrappers are still exceptions. To complete de-coupling the uapi from kernel headers, move generic-y of exported headers to uapi/asm/Kbuild. With this change, "make headers_install" will just need to parse uapi/asm/Kbuild to build up exported headers. Also, move "generic-y += kprobes.h" up in order to keep the entries sorted. Signed-off-by: Masahiro Yamada --- arch/nios2/include/asm/Kbuild | 25 +------------------------ arch/nios2/include/uapi/asm/Kbuild | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+), 24 deletions(-) -- 2.7.4 Reviewed-by: Tobias Klauser diff --git a/arch/nios2/include/asm/Kbuild b/arch/nios2/include/asm/Kbuild index c1c7f6736117..896c26ae0da9 100644 --- a/arch/nios2/include/asm/Kbuild +++ b/arch/nios2/include/asm/Kbuild @@ -1,8 +1,6 @@ generic-y += atomic.h -generic-y += auxvec.h generic-y += barrier.h generic-y += bitops.h -generic-y += bitsperlong.h generic-y += bug.h generic-y += bugs.h generic-y += clkdev.h @@ -12,54 +10,33 @@ generic-y += device.h generic-y += div64.h generic-y += dma.h generic-y += emergency-restart.h -generic-y += errno.h generic-y += exec.h generic-y += extable.h generic-y += fb.h -generic-y += fcntl.h generic-y += ftrace.h generic-y += futex.h generic-y += hardirq.h generic-y += hw_irq.h -generic-y += ioctl.h -generic-y += ioctls.h -generic-y += ipcbuf.h generic-y += irq_regs.h generic-y += irq_work.h generic-y += kdebug.h generic-y += kmap_types.h -generic-y += kvm_para.h +generic-y += kprobes.h generic-y += local.h generic-y += mcs_spinlock.h generic-y += mm-arch-hooks.h -generic-y += mman.h generic-y += module.h -generic-y += msgbuf.h -generic-y += param.h generic-y += pci.h generic-y += percpu.h -generic-y += poll.h -generic-y += posix_types.h generic-y += preempt.h -generic-y += resource.h generic-y += sections.h generic-y += segment.h -generic-y += sembuf.h generic-y += serial.h -generic-y += shmbuf.h -generic-y += socket.h -generic-y += sockios.h generic-y += spinlock.h -generic-y += stat.h -generic-y += statfs.h -generic-y += termbits.h -generic-y += termios.h generic-y += topology.h generic-y += trace_clock.h -generic-y += types.h generic-y += unaligned.h generic-y += user.h generic-y += vga.h generic-y += word-at-a-time.h generic-y += xor.h -generic-y += kprobes.h diff --git a/arch/nios2/include/uapi/asm/Kbuild b/arch/nios2/include/uapi/asm/Kbuild index 51eff5bc2eb4..ffca24da7647 100644 --- a/arch/nios2/include/uapi/asm/Kbuild +++ b/arch/nios2/include/uapi/asm/Kbuild @@ -1,6 +1,29 @@ # UAPI Header export list include include/uapi/asm-generic/Kbuild.asm +generic-y += auxvec.h +generic-y += bitsperlong.h +generic-y += errno.h +generic-y += fcntl.h +generic-y += ioctl.h +generic-y += ioctls.h +generic-y += ipcbuf.h +generic-y += kvm_para.h +generic-y += mman.h +generic-y += msgbuf.h +generic-y += param.h +generic-y += poll.h +generic-y += posix_types.h +generic-y += resource.h +generic-y += sembuf.h generic-y += setup.h +generic-y += shmbuf.h generic-y += siginfo.h +generic-y += socket.h +generic-y += sockios.h +generic-y += stat.h +generic-y += statfs.h +generic-y += termbits.h +generic-y += termios.h +generic-y += types.h generic-y += ucontext.h