From patchwork Mon Jun 12 03:27:18 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 9780343 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8828460352 for ; Mon, 12 Jun 2017 03:30:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7A14A1FF1D for ; Mon, 12 Jun 2017 03:30:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6E1011FF61; Mon, 12 Jun 2017 03:30:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 211651FF1D for ; Mon, 12 Jun 2017 03:30:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752450AbdFLD3x (ORCPT ); Sun, 11 Jun 2017 23:29:53 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:64797 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752228AbdFLD2b (ORCPT ); Sun, 11 Jun 2017 23:28:31 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v5C3RXPO001077; Mon, 12 Jun 2017 12:27:52 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v5C3RXPO001077 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1497238072; bh=myMxmzKrFnywxEVKZjKGE0jnewrCL6iz7eUxmNQ8K9I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=U2WvHYVAJ3RrikQ/0YBHgriVQ7TjQS2CSR/yUaVnpKNriSFU9RHtyE7s7hpSGXUWc GEzuf8A8LzE9uCQCZ2moueTbdIRkb5h6mHjHZKXQGNQRprDVjSLO42EqVGh2R82n7p 2o0y6N/5z47LCuCSPYXtLLc1/DBNW5crE3J5ml8iU6YsR5nCW8QIrTN9S6XZE4KqhP dc5nLSFN1XPXxXpYAtYQ79pfyHCmPnBnjtUdVW4zJ8+eZElYS+VkrqwoagzO3Mnchy cgzHoKMXyHI0satCDOyzfHHItR4DEFzfMkuMAJDZTRMzQLUrkRlInt4pEt1KIh2O4r qiDBTmShG5S4w== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org, linux-arch Cc: Masahiro Yamada , linux-xtensa@linux-xtensa.org, Chris Zankel , linux-kernel@vger.kernel.org, Max Filippov Subject: [PATCH 24/27] xtensa: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 12 Jun 2017 12:27:18 +0900 Message-Id: <1497238041-7011-25-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497238041-7011-1-git-send-email-yamada.masahiro@socionext.com> References: <1497238041-7011-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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. scripts/Makefile.headersinst still need to deal with old-kbuild-file for headers listed in arch/*/include/asm/Kbuild, but actually exported. As the last work to finish de-coupling the uapi from kernel headers, move generic-y of exported headers to uapi/asm/Kbuild. Signed-off-by: Masahiro Yamada --- arch/xtensa/include/asm/Kbuild | 9 --------- arch/xtensa/include/uapi/asm/Kbuild | 10 ++++++++++ 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/arch/xtensa/include/asm/Kbuild b/arch/xtensa/include/asm/Kbuild index cc23e9ecc6bb..0b408dc2366e 100644 --- a/arch/xtensa/include/asm/Kbuild +++ b/arch/xtensa/include/asm/Kbuild @@ -1,20 +1,15 @@ -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 += linkage.h generic-y += local.h generic-y += local64.h @@ -22,12 +17,8 @@ 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 += siginfo.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 diff --git a/arch/xtensa/include/uapi/asm/Kbuild b/arch/xtensa/include/uapi/asm/Kbuild index b15bf6bc0e94..a5bcdfb890f1 100644 --- a/arch/xtensa/include/uapi/asm/Kbuild +++ b/arch/xtensa/include/uapi/asm/Kbuild @@ -1,2 +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