From patchwork Sun Jul 9 18:32:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 107260 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2541431qge; Sun, 9 Jul 2017 11:37:27 -0700 (PDT) X-Received: by 10.98.4.5 with SMTP id 5mr26828520pfe.189.1499625447658; Sun, 09 Jul 2017 11:37:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499625447; cv=none; d=google.com; s=arc-20160816; b=J/2KhYaspqb0rV2H5GSFLwaqsk/bOW07lQJI3s9iJN09te/127sc0q7vt6a2Wu7Vx6 qkvQgZShage0IEQYn/d4vP5/R1o3VIRnLopxzhttamXs/aeC5Ls9RR8O6KDR53sSs9o4 Ds9CVGNNeLyoziXKAExzDXaA9rgq8p9D0UXyO6mSGmAv3k3Y4GYCGAb4kvsD+bQUq8ZX b+7pSZObrndYA1AnGnnU3pKUpLUyZtEvBkvHQ2X21oHZYAMPrFpr2sxBUqvkeUXbv8MN e6HcEzhsDxtMs/xNniLa4vxMPL57QyLn3TKAzdaIJSAftZwnTvd6tqrxOD+P/dk8uOGU 1cAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter :arc-authentication-results; bh=Sj3Xuz9wog1pVkH5C9/lamin18B9ymWowhhNpeAxR0w=; b=O0Ewyx1ld8VfOyu1kNViqWyMiuwDxC3Afsa1EqH4lUFL+SY2QE/55Q1Csg9axYn4MI LnLXuRmjqioU5ZZDikWtNautYVEXoMl2X9HREDWXP6NBt897ofqZxZhZ2UcNRrY4NoYz 4Hh2otKVAPM7wn7IyXef1e5bWb9q/JUJ0GGlt/8JTr7tjbjPdEdfzB18OuvnzRh4DOym YKGQdPLgkMp6Wy6sQHjUQUCGGycCtbNHfFyK4R446kKR74kZbYhCS48wCGccL9Yl6wB1 8VtBq4XjQ0kJqxuzh4TbAcCRLU44+kBAWwXhEN2jycIN/j6i3QqDV3s3FaoxUUs+URXm rR6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.b=QdnmP+ls; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g26si6367337pge.212.2017.07.09.11.37.27; Sun, 09 Jul 2017 11:37:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.b=QdnmP+ls; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753286AbdGIShB (ORCPT + 25 others); Sun, 9 Jul 2017 14:37:01 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:45736 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752566AbdGISdT (ORCPT ); Sun, 9 Jul 2017 14:33:19 -0400 Received: from grover.sesame (FL1-122-131-185-176.osk.mesh.ad.jp [122.131.185.176]) (authenticated) by conuserg-08.nifty.com with ESMTP id v69IX2D6000353; Mon, 10 Jul 2017 03:33:13 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v69IX2D6000353 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1499625193; bh=Sj3Xuz9wog1pVkH5C9/lamin18B9ymWowhhNpeAxR0w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QdnmP+lsDYeQpks9QUqBqzf4DF55xiefBr6wCTXkuCZxZSTIww6G8yapXHYNDqPnN WudRyxm9LbN/RwJBxkFzJx/6cSoBtCf7QkQ96xr54Ab3FPG73hAUqRGfweva9peYCq TxwI/CQ3fRHi0y/h+V2+h3VAbhKGuqveumMutFuNGD3G0796tITX/vyQmKFevsSWnf XmINY+gFV+1zmYTjJ7j17SvmpIl5CTDBksSnL+KqCZ8ipaa3ihtbSi1XGqpJQWzZ0p uVR2d+QT1pwccBVM4YaW5zEcL5d2DeOSkFZvvZiZSW6luZXh4b8D2oCDc6JsL/WJ/b J16ss0+qv+5hg== X-Nifty-SrcIP: [122.131.185.176] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: linux-arch@vger.kernel.org, Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH v2 10/28] h8300: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 10 Jul 2017 03:32:42 +0900 Message-Id: <1499625180-8067-11-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1499625180-8067-1-git-send-email-yamada.masahiro@socionext.com> References: <1499625180-8067-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since commit fcc8487d477a ("uapi: export all headers under uapi directories"), all (and only) headers under uapi directories are exported, but asm-generic wrappers are still exceptions. To complete de-coupling the uapi from kernel headers, move generic-y of exported headers to uapi/asm/Kbuild. With this change, "make headers_install" will just need to parse uapi/asm/Kbuild to build up exported headers. Also, move "generic-y += kprobes.h" and "generic-y += trace_clock.h" in order to keep the entries sorted. Signed-off-by: Masahiro Yamada --- arch/h8300/include/asm/Kbuild | 30 ++---------------------------- arch/h8300/include/uapi/asm/Kbuild | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 28 deletions(-) -- 2.7.4 diff --git a/arch/h8300/include/asm/Kbuild b/arch/h8300/include/asm/Kbuild index 99c824608a31..bc077491d299 100644 --- a/arch/h8300/include/asm/Kbuild +++ b/arch/h8300/include/asm/Kbuild @@ -1,5 +1,4 @@ generic-y += asm-offsets.h -generic-y += auxvec.h generic-y += barrier.h generic-y += bugs.h generic-y += cacheflush.h @@ -11,66 +10,41 @@ generic-y += device.h generic-y += div64.h generic-y += dma.h generic-y += emergency-restart.h -generic-y += errno.h generic-y += exec.h generic-y += extable.h generic-y += fb.h -generic-y += fcntl.h generic-y += ftrace.h generic-y += futex.h generic-y += hardirq.h generic-y += hash.h generic-y += hw_irq.h -generic-y += ioctl.h -generic-y += ioctls.h -generic-y += ipcbuf.h generic-y += irq_regs.h generic-y += irq_work.h generic-y += kdebug.h generic-y += kmap_types.h -generic-y += kvm_para.h +generic-y += kprobes.h generic-y += linkage.h generic-y += local.h generic-y += local64.h generic-y += mcs_spinlock.h generic-y += mm-arch-hooks.h -generic-y += mman.h generic-y += mmu.h generic-y += mmu_context.h generic-y += module.h -generic-y += msgbuf.h -generic-y += param.h generic-y += parport.h generic-y += percpu.h generic-y += pgalloc.h -generic-y += poll.h -generic-y += posix_types.h generic-y += preempt.h -generic-y += resource.h generic-y += scatterlist.h generic-y += sections.h -generic-y += sembuf.h generic-y += serial.h -generic-y += setup.h -generic-y += shmbuf.h -generic-y += shmparam.h generic-y += sizes.h -generic-y += socket.h -generic-y += sockios.h generic-y += spinlock.h -generic-y += stat.h -generic-y += statfs.h -generic-y += swab.h -generic-y += termbits.h -generic-y += termios.h generic-y += timex.h generic-y += tlbflush.h -generic-y += trace_clock.h generic-y += topology.h -generic-y += types.h -generic-y += ucontext.h +generic-y += trace_clock.h generic-y += unaligned.h generic-y += vga.h generic-y += word-at-a-time.h generic-y += xor.h -generic-y += kprobes.h diff --git a/arch/h8300/include/uapi/asm/Kbuild b/arch/h8300/include/uapi/asm/Kbuild index b55fc2ae1e8c..187aed820e71 100644 --- a/arch/h8300/include/uapi/asm/Kbuild +++ b/arch/h8300/include/uapi/asm/Kbuild @@ -1,4 +1,30 @@ # UAPI Header export list include include/uapi/asm-generic/Kbuild.asm +generic-y += auxvec.h +generic-y += errno.h +generic-y += fcntl.h +generic-y += ioctl.h +generic-y += ioctls.h +generic-y += ipcbuf.h +generic-y += kvm_para.h +generic-y += mman.h +generic-y += msgbuf.h +generic-y += param.h +generic-y += poll.h +generic-y += posix_types.h +generic-y += resource.h +generic-y += sembuf.h +generic-y += setup.h +generic-y += shmbuf.h +generic-y += shmparam.h generic-y += siginfo.h +generic-y += socket.h +generic-y += sockios.h +generic-y += stat.h +generic-y += statfs.h +generic-y += swab.h +generic-y += termbits.h +generic-y += termios.h +generic-y += types.h +generic-y += ucontext.h