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: 103587 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp13476qgd; Sun, 11 Jun 2017 20:30:16 -0700 (PDT) X-Received: by 10.99.160.17 with SMTP id r17mr56499802pge.95.1497238216499; Sun, 11 Jun 2017 20:30:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497238216; cv=none; d=google.com; s=arc-20160816; b=GqR1z6FHE+dafHzCN2fiDJ8JcB65bf2jBx278moXF51ZgDrz2xaaWYPds0tnfIJ4gG 5O2n2uxDa6OdaRBSeV+S6cgVbQ93+uWLtsb0cPtb++3EjjVM3iuGFmusYyPIOIwz0M/5 +WRITN3GoGuGrKC6G8WBrzvQV9SpIKx8rog6zPWqLu9mS/TLmzdXw1MTnhBxyOj//M07 LDAVM3/3BZWv3dYdeI92m1Y0X3l24VZ3+dXsMhxV76561TqZ4iwRIiy5oP1EAU330OBD l9No4i6nqFh0RauCU1ao7DE9qF2rbdd629qaTHf8aUwRXQQTtuqD7xHUzMuSV2xAmkao zUbA== 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=myMxmzKrFnywxEVKZjKGE0jnewrCL6iz7eUxmNQ8K9I=; b=rkbfe+qIL3dBI1ilNe92M6uv8/8884z6QyO1cW03Qkl5iI91wsAj40yhEIPJnK918+ C/jxdnd9Veg8Y6u6imqO2ExxXT3ZmvzqYnNNpfdy9uj9FpVWmT9x/g2TrBgbZLbil0c9 UKVgpWd6uK7mXC7R1bvgO8SA1IqWCz9XFHfPhsb7Soz9a7SorXmYkx7ULBM15RTETNQg k5HIeTm7rmfmEcUbUAPWTKqraJquc9r7ms+ry8/y/jh/i8Y67kAWSWWWJmgf++BM/4gJ XTyOHPnA75KEtXfNZG/pBwO9bjXZrMOMFZYaeT2AjOi0XxawV8QdActVBefI8d879HLg qErQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com; 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 v24si6114801pfk.374.2017.06.11.20.30.16; Sun, 11 Jun 2017 20:30:16 -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; 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 S1752465AbdFLD3y (ORCPT + 25 others); Sun, 11 Jun 2017 23:29:54 -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-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. 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(-) -- 2.7.4 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