From patchwork Sun Jul 9 18:32:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 107245 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2539090qge; Sun, 9 Jul 2017 11:33:44 -0700 (PDT) X-Received: by 10.84.245.9 with SMTP id i9mr5072212pll.284.1499625223953; Sun, 09 Jul 2017 11:33:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499625223; cv=none; d=google.com; s=arc-20160816; b=INxJ8AfguPPUoDO8Jl/ecZ5KTnaIG1Oqk1lB63mlt+NLlCIoSW50CRBAwkrcTfxdty rgc1kGk6HtdaZvcZJfxBMNJlGwRPwfwbkMVTM7xxLqRIk8AzZCs7+djffsKE0T6auxL4 Eg8714+An8V5p4CWEFlfEKupqit+EUtbDlrMuPyLK/S1Yy9Vug1zd2K0iZaZxPLvq2E/ r3UQ+aeBDEC6P1SAywMSn4ajvC454PlsXK8axeFkeKo/6R5cKw1PxG/JuigUVKhRN3BR GZCgOJS08ANo6CYgXDZ73SdUrn6TKAvY/RfpeHOxfWWZ9+sz1AkXTByTJAXRyBrUB4Pl 8pgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter :arc-authentication-results; bh=iFxzNJa7vrx4ptUsvCVg+qqODJo4/5xFi6eiETZfMuw=; b=WQUhF5uq0Jla+chdBoLROrWS4uKYmQ4SYDWuGZEE5GMs13TsaRnOP2SJxtvSCxe3yn EtvJblgYrSKSFFOSwHzhul2IwArNR+94XxYFLrOccGNOwJ/U+7vGiZJc5G04OPPerEa4 2A2Jw/OHh3jySVND7KS6UnU5GEz5xQS11H7F5zLsWrFlWRiaqtx61+kk0EXH6OSNTWHR X3N3W9ZGEWY/uQArDjjYvNSj0/W4Z4EtmJSIjwbqtMztzYX0Z/RWZI0b0nDhvP81t1Ob 4Cq0VCidPQnLHX3UoI6z3J0t3VhumsRv2I9razlrXVSj+/DzA41lDV9co22RtBorH6K/ u+6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.b=YS/EAu7Q; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n24si6647366pgd.129.2017.07.09.11.33.43; Sun, 09 Jul 2017 11:33:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.b=YS/EAu7Q; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753188AbdGISdk (ORCPT + 25 others); Sun, 9 Jul 2017 14:33:40 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:45822 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752641AbdGISdY (ORCPT ); Sun, 9 Jul 2017 14:33:24 -0400 Received: from grover.sesame (FL1-122-131-185-176.osk.mesh.ad.jp [122.131.185.176]) (authenticated) by conuserg-08.nifty.com with ESMTP id v69IX2DK000353; Mon, 10 Jul 2017 03:33:20 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v69IX2DK000353 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1499625200; bh=iFxzNJa7vrx4ptUsvCVg+qqODJo4/5xFi6eiETZfMuw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YS/EAu7QZrTF8T9lXGTjkx3RhCwx0vLsIeiHWC543e0kUaIEQCLLCpVDo8gwtYFI7 IOVF322ANaTqQvuS3s3HKhmnfSLq+qd46Wk1wXZpG892CiMZ1qWZ3ye1hgOAC7f62O 9o4UFkDjjdax5Sv84UgGb45w3Mf/W3z113ytRn26MX2jsRFDMh3cytULVSrUKm3sxr H6tzFAYiXrwsx0xNvOPFfYZ3IB66ffnoEm6ZlbLbNnx/7AHGv0bIflEBW1/eBBFiCE x/DXqF0kZwk8dZxkgjeRaQdah5DnSf/MaYPdsU1pFqJWkH3I0zg7BPfK8aU0DxJzMs uftBOoURv5c0A== X-Nifty-SrcIP: [122.131.185.176] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: linux-arch@vger.kernel.org, Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH v2 24/28] unicore32: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 10 Jul 2017 03:32:56 +0900 Message-Id: <1499625180-8067-25-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1499625180-8067-1-git-send-email-yamada.masahiro@socionext.com> References: <1499625180-8067-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since commit fcc8487d477a ("uapi: export all headers under uapi directories"), all (and only) headers under uapi directories are exported, but asm-generic wrappers are still exceptions. To complete de-coupling the uapi from kernel headers, move generic-y of exported headers to uapi/asm/Kbuild. With this change, "make headers_install" will just need to parse uapi/asm/Kbuild to build up exported headers. Also, move "generic-y += kprobes.h" up in order to keep the entries sorted. Signed-off-by: Masahiro Yamada --- arch/unicore32/include/asm/Kbuild | 30 +----------------------------- arch/unicore32/include/uapi/asm/Kbuild | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 29 deletions(-) -- 2.7.4 diff --git a/arch/unicore32/include/asm/Kbuild b/arch/unicore32/include/asm/Kbuild index 7a53a55341de..fda7e2153086 100644 --- a/arch/unicore32/include/asm/Kbuild +++ b/arch/unicore32/include/asm/Kbuild @@ -1,66 +1,38 @@ - generic-y += atomic.h -generic-y += auxvec.h -generic-y += bitsperlong.h generic-y += bugs.h generic-y += clkdev.h generic-y += current.h generic-y += device.h generic-y += div64.h generic-y += emergency-restart.h -generic-y += errno.h generic-y += exec.h generic-y += extable.h generic-y += fb.h -generic-y += fcntl.h generic-y += ftrace.h generic-y += futex.h generic-y += hardirq.h generic-y += hw_irq.h -generic-y += ioctl.h -generic-y += ioctls.h -generic-y += ipcbuf.h generic-y += irq_regs.h generic-y += irq_work.h generic-y += kdebug.h generic-y += kmap_types.h +generic-y += kprobes.h generic-y += local.h generic-y += mcs_spinlock.h generic-y += mm-arch-hooks.h -generic-y += mman.h generic-y += module.h -generic-y += msgbuf.h -generic-y += param.h generic-y += parport.h generic-y += percpu.h -generic-y += poll.h -generic-y += posix_types.h generic-y += preempt.h -generic-y += resource.h generic-y += sections.h generic-y += segment.h -generic-y += sembuf.h generic-y += serial.h -generic-y += setup.h -generic-y += shmbuf.h -generic-y += shmparam.h -generic-y += signal.h generic-y += sizes.h -generic-y += socket.h -generic-y += sockios.h -generic-y += stat.h -generic-y += statfs.h -generic-y += swab.h generic-y += syscalls.h -generic-y += termbits.h -generic-y += termios.h generic-y += topology.h generic-y += trace_clock.h -generic-y += types.h -generic-y += ucontext.h generic-y += unaligned.h generic-y += user.h generic-y += vga.h generic-y += word-at-a-time.h generic-y += xor.h -generic-y += kprobes.h diff --git a/arch/unicore32/include/uapi/asm/Kbuild b/arch/unicore32/include/uapi/asm/Kbuild index 1c44d3b3eba0..759a71411169 100644 --- a/arch/unicore32/include/uapi/asm/Kbuild +++ b/arch/unicore32/include/uapi/asm/Kbuild @@ -1,5 +1,32 @@ # UAPI Header export list include include/uapi/asm-generic/Kbuild.asm +generic-y += auxvec.h +generic-y += bitsperlong.h +generic-y += errno.h +generic-y += fcntl.h +generic-y += ioctl.h +generic-y += ioctls.h +generic-y += ipcbuf.h generic-y += kvm_para.h +generic-y += mman.h +generic-y += msgbuf.h +generic-y += param.h +generic-y += poll.h +generic-y += posix_types.h +generic-y += resource.h +generic-y += sembuf.h +generic-y += setup.h +generic-y += shmbuf.h +generic-y += shmparam.h generic-y += siginfo.h +generic-y += signal.h +generic-y += socket.h +generic-y += sockios.h +generic-y += stat.h +generic-y += statfs.h +generic-y += swab.h +generic-y += termbits.h +generic-y += termios.h +generic-y += types.h +generic-y += ucontext.h