From patchwork Sun Jul 9 18:32:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 107246 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2539097qge; Sun, 9 Jul 2017 11:33:44 -0700 (PDT) X-Received: by 10.84.232.77 with SMTP id f13mr13983748pln.172.1499625224341; Sun, 09 Jul 2017 11:33:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499625224; cv=none; d=google.com; s=arc-20160816; b=Z9HT3plylemNOj7yglHtLER05NqR3eNIrlHgt6GoRRmvdor0bVfAJnztaVcgviIaJs BzUOX7kAy5OIfQkFFqb2Ds4gmDswZBWqTv8WY2uXNbWi/sAHVqLDqIbd7HE1Fs7Vjurb SrcFWz2Rxf1nNloXELHFrgvHd4WkqmKxO5AAO6mPSuTb6sZrXDPdw5FZC92zM+CiR3Ey Y+8XqbgT4PB+BD66PsGVrmYIhypx5C+/Xnx4pLR4BEDJfjQopmA779wBNbwD3OtT3N2O Cc4fTfDFmfpymqmFM789NT5117OobpNqLqVVvgkmftkO498CpX7TR3ccXfztDvX4usCl bXMg== 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=i4w3J/275gYNe8U3cQQyAkGshxDj92/4cbgwuY79v4A=; b=i9C7nl/jrvHlpZYjyVtlitCmaqxeGxoxRDZiygWt6/ZhXIYwMGWlR2iB4Oyu+OEBuS Eg93xr4uzuSOfYCK5SaOf4G9uk+jtkekZlchL5fhNPMIl8dG8QEFaPn5i1MER3DPVdaO wiFblvv93WDkVFcDfS61ap6knoD2aStEpi80YxrCC0r+EQV7ZO1ShpC5UH8RGKaZETqJ xstlWxM+/ag5re1qb9a/7mnL+UP8+XJzKwu1VsL2yij1racMldFkv3B1o/VOPpJxzvuP /SwIW4F1mmjpY/uSwoP2tuRTXfPsALevbtEJvy073Kpvm4cUlJ7m7cln5uRQ2Qh5i2d1 Ib1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.b=x7xsZZIO; 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.44; Sun, 09 Jul 2017 11: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 header.b=x7xsZZIO; 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 S1753207AbdGISdl (ORCPT + 25 others); Sun, 9 Jul 2017 14:33:41 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:45815 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752623AbdGISdX (ORCPT ); Sun, 9 Jul 2017 14:33:23 -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 v69IX2DF000353; Mon, 10 Jul 2017 03:33:17 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v69IX2DF000353 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1499625197; bh=i4w3J/275gYNe8U3cQQyAkGshxDj92/4cbgwuY79v4A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=x7xsZZIOBPrcOWjr/6BEc3lFSAzNnGo7w6KV36Ym47Oli0W/NCotKKKIdtLI6adJG HQIYQhpK1Iy6DHl4132/JoLhaiRBAddjPkHY9iZNNP6Amtp6Wwszcrcg90uWQV0LPX 6mu64R5WYP6f3upgm6enETtLeBsFbDA77UCGnQxAbn7vMsSSb4jJyMCLkqIceJH4CJ KVZmmRbxASPKl9dmRPAGv3ZHolUB7AedlXQIFe37sqF9K95OiajVEjFg3MY0Qq6ucT ydYWjAfeL9+cK8Echn3rEvUaZp9cqR3/Wzyp7VoKrizdaosTq1920pJ5PfU/kTojRa hpJV+LiioThpQ== 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 19/28] openrisc: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 10 Jul 2017 03:32:51 +0900 Message-Id: <1499625180-8067-20-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/openrisc/include/asm/Kbuild | 29 +---------------------------- arch/openrisc/include/uapi/asm/Kbuild | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 28 deletions(-) -- 2.7.4 Acked-by: Stafford Horne diff --git a/arch/openrisc/include/asm/Kbuild b/arch/openrisc/include/asm/Kbuild index 091585addb91..5bea416a7792 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,57 +9,32 @@ 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 += 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 += 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 += 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 generic-y += xor.h -generic-y += kprobes.h diff --git a/arch/openrisc/include/uapi/asm/Kbuild b/arch/openrisc/include/uapi/asm/Kbuild index b55fc2ae1e8c..62286dbeb904 100644 --- a/arch/openrisc/include/uapi/asm/Kbuild +++ b/arch/openrisc/include/uapi/asm/Kbuild @@ -1,4 +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