From patchwork Sun Jul 9 18:32:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 107244 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2539082qge; Sun, 9 Jul 2017 11:33:43 -0700 (PDT) X-Received: by 10.84.149.197 with SMTP id a5mr14101097plh.3.1499625223178; 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=yuGe18TzSB66SDOrCjOs/rgOHG4CvlcwW8bc6zlBj10n3eCf9/p33JcCEXZHRXQFDm Zpvrw9UCq3/1ZCvfjcVt+36gfZPP0Smbv+o3TAeKqzXQlBRhG+jk0wqDZ90D1wECE1+h yaxfczaHy4iiqRu43r8y6N06aG2vhoCgHOIB1YHpLean7Gzx2KUYcO1ilMfoUZhTVf9A CtBfWUe22u2Xa8Dd6yyMUN5Gl3RG6R2OYo1jngZY4MnAxF1SKgzAkWY1d5gF1LA4wx6A WVLiiiLo6AQwnlB2eMBK8dCvfFnTzeyIE1ura0wp5iLIy0PLbHoq2hCxJMXi6RT5XdXB JKEg== 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=rEAnqR4wC2Y8xCgxgxFNpbjkIDfMmj+c5nRulpzYpVU=; b=YdRyGoypa5SIivWfykseUATBcpsMHVF31NXdP1r3nyGkFZ1V9rLsKGKZApaj8YhF3z inlR0fWD+MHpOt9g1AluGwKdQw6zmdsL3+Wph6JAQMmQh/xq7G88Sm0ueugEplyLKgrZ 9OPXVA/nqqnrK6jfstafl7lSlrMYXS8TBg0RxDsehv0M/0OXxjP4dBmZqvHWRmR94+Lz yIMaHU00gvFzfGozNbd0vdUYxa05/J0NMHLCMCT0dhfOe0C9164ol3D7wWzvdBRB9JzO 7UsS3FSdd2Dbfc/juMGIYiOZn73w2i9Qkx4TpFZYyaBTL81zbIWgN+PESKQAG1rwFX+E ZL8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.b=nG0kJW4a; 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.42; 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=nG0kJW4a; 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 S1753171AbdGISdj (ORCPT + 25 others); Sun, 9 Jul 2017 14:33:39 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:45818 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752629AbdGISdY (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 v69IX2DL000353; Mon, 10 Jul 2017 03:33:20 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v69IX2DL000353 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1499625200; bh=rEAnqR4wC2Y8xCgxgxFNpbjkIDfMmj+c5nRulpzYpVU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nG0kJW4a9b/XzAkhBlP86W/a6NkOt9spl62ZXWlr6CXi38y6e//XQibL/5UXHqibp NsHw142QI6Yx2hd4aBkI+hngDnj72gtXjNZApvWCLo2YBTLsTnVJE6aCmE7BH5FhSt 1a7O4XolBNVLw1Il6QIbjXM8zFwFtktQqIhqY6e3//1Bfzq96K08jXvIiFRSyImBeA +oYr+S8d8Q4iwdWuxEON90qrHp8NHrz28eEqLlQpOo/kiHhXQHTkaAsVsCGVVBW/Cq LJkiwTxEpQCGgv/LiEyXoinWfISZeX/CV1n/ZJGUblKMci1ht5WltRXL5t6zEHWmQR lSXVQR8Mah3rA== 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 25/28] xtensa: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 10 Jul 2017 03:32:57 +0900 Message-Id: <1499625180-8067-26-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/xtensa/include/asm/Kbuild | 10 +--------- arch/xtensa/include/uapi/asm/Kbuild | 9 +++++++++ 2 files changed, 10 insertions(+), 9 deletions(-) -- 2.7.4 diff --git a/arch/xtensa/include/asm/Kbuild b/arch/xtensa/include/asm/Kbuild index 30f6290109d4..c04efde775a5 100644 --- a/arch/xtensa/include/asm/Kbuild +++ b/arch/xtensa/include/asm/Kbuild @@ -1,20 +1,16 @@ -generic-y += bitsperlong.h generic-y += bug.h generic-y += clkdev.h generic-y += div64.h generic-y += dma-contiguous.h generic-y += emergency-restart.h -generic-y += errno.h generic-y += exec.h generic-y += extable.h -generic-y += fcntl.h generic-y += hardirq.h -generic-y += ioctl.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 @@ -22,13 +18,9 @@ generic-y += mcs_spinlock.h generic-y += mm-arch-hooks.h generic-y += percpu.h generic-y += preempt.h -generic-y += resource.h generic-y += rwsem.h generic-y += sections.h -generic-y += statfs.h -generic-y += termios.h generic-y += topology.h generic-y += trace_clock.h generic-y += word-at-a-time.h generic-y += xor.h -generic-y += kprobes.h diff --git a/arch/xtensa/include/uapi/asm/Kbuild b/arch/xtensa/include/uapi/asm/Kbuild index 4cb0d2f8868c..a5bcdfb890f1 100644 --- a/arch/xtensa/include/uapi/asm/Kbuild +++ b/arch/xtensa/include/uapi/asm/Kbuild @@ -1,3 +1,12 @@ # UAPI Header export list include include/uapi/asm-generic/Kbuild.asm + +generic-y += bitsperlong.h +generic-y += errno.h +generic-y += fcntl.h +generic-y += ioctl.h +generic-y += kvm_para.h +generic-y += resource.h generic-y += siginfo.h +generic-y += statfs.h +generic-y += termios.h