From patchwork Sun Jul 9 18:32:48 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 107256 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2541026qge; Sun, 9 Jul 2017 11:36:47 -0700 (PDT) X-Received: by 10.84.214.136 with SMTP id j8mr14067414pli.40.1499625407029; Sun, 09 Jul 2017 11:36:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499625407; cv=none; d=google.com; s=arc-20160816; b=OxJPRUhqFMWe7i9iBXAhdYgoxlM6X2IQG4erRjEN14Z29mgm7WuDjnGSuJAreUw+Jk rMtVz8DDSGFW5/KT0Fy0MSJdSOkEsiFubyHKqenxUp7RHWHMW6Mpbhj5nEdHO75b3P8Y p8SzF1NirpwopArUrEkNSxz7UH3UC/LKVllwv/o/nl2+U7tHYFILbnd7vXXm+PXXiX4Q 5NReBJm2NpgsIZ/2L/+C+NfTt/WzFLQW2QnWFE4WKkrdyHoxP8fphoeekGxIMB4s6VdL luMDvTzDfuKNch3KqTKrMm2MjzA3laSioV10olGwac0nMqAhQZYNACLKAAABwcG3uWPM BPnA== 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=c8EmeJ5DZCBSyUy39E8LjnYaTT6otPi8TVtvfSyLK6E=; b=fjHWQdhv9KmyiGm/ly8IuM/HtQ/q/nQUM1F477oiUP4VKvgjWb4KC6jpVbD4mCWKXp JE1WuwcneHGt3ePEHzezDa6TGkzhV+8pUedFZnfHvtrFDS5rasD/BdnyELaRxG7xtnv2 gXnAMdYV+0lR/iicW4asLvGAZ0J1V5SsyoNeP0/qxXpknlNUhQcolY9tosh8uo/yD9El XeXJVx9V4Q+GKb8g1elhxYP093Ytrwd456GiB0nJ0osYWDeD+yGdAEyYtF68vpUI6Y8Q hPrZcuUQ0y1JcAAhy/8AZ0vRI3ia0pbPJGuvFo1g95LZnBF0IbkX7Vnab+ZZoBXkJVlt VmTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.b=iYJhXb7C; 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 b8si7226065plk.87.2017.07.09.11.36.46; Sun, 09 Jul 2017 11:36:47 -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=iYJhXb7C; 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 S1753279AbdGISgT (ORCPT + 25 others); Sun, 9 Jul 2017 14:36:19 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:45823 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752648AbdGISdY (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 v69IX2DC000353; Mon, 10 Jul 2017 03:33:16 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v69IX2DC000353 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1499625196; bh=c8EmeJ5DZCBSyUy39E8LjnYaTT6otPi8TVtvfSyLK6E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iYJhXb7C1gnXfXiHc9lJ+XWfMqhOiNy4HeZz72QAnl9Z4nLdcsFhWdxfn2yhjWpw0 QI3IYMeGF0qn/pnvOqmLr7J3xVbVTF6ewcVAUxuNNUWd8CT1XpQG3s8N8Kvv90ByUN 1AFfsK9awR+mg0/WaVV16UuhPIycoDP2oP+QoC2WOpDNOY1k1J39BqMlP/d4aijaiE Ik+uXAh9tzZaoDCkwHjzxJHSQ8MET0irnHZvZniQa0gmCbkM1BCQ+n1Fuh0V9afw69 r/qZINWnAd/DptQUgjG9nY7SNeb7ICcPo1Jb36IOzJoxaGLYAwhshA2eOf1a6ECKtX hY2gFng910rDw== 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 16/28] microblaze: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 10 Jul 2017 03:32:48 +0900 Message-Id: <1499625180-8067-17-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. For microblaze, "generic-y += siginfo.h" is doubled in asm/Kbuild and uapi/asm/Kbuild. So, the one in the former can be simply removed. Signed-off-by: Masahiro Yamada --- arch/microblaze/include/asm/Kbuild | 25 ------------------------- arch/microblaze/include/uapi/asm/Kbuild | 25 ++++++++++++++++++++++++- 2 files changed, 24 insertions(+), 26 deletions(-) -- 2.7.4 diff --git a/arch/microblaze/include/asm/Kbuild b/arch/microblaze/include/asm/Kbuild index 83a4ef3a2495..9d66f7793841 100644 --- a/arch/microblaze/include/asm/Kbuild +++ b/arch/microblaze/include/asm/Kbuild @@ -1,22 +1,15 @@ - generic-y += barrier.h generic-y += bitops.h -generic-y += bitsperlong.h generic-y += bug.h generic-y += bugs.h generic-y += clkdev.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 += hardirq.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 @@ -27,31 +20,13 @@ generic-y += local.h generic-y += local64.h generic-y += mcs_spinlock.h generic-y += mm-arch-hooks.h -generic-y += mman.h -generic-y += msgbuf.h -generic-y += param.h generic-y += parport.h generic-y += percpu.h -generic-y += poll.h generic-y += preempt.h -generic-y += resource.h -generic-y += sembuf.h generic-y += serial.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 += syscalls.h -generic-y += termbits.h -generic-y += termios.h generic-y += topology.h generic-y += trace_clock.h -generic-y += ucontext.h generic-y += vga.h generic-y += word-at-a-time.h generic-y += xor.h diff --git a/arch/microblaze/include/uapi/asm/Kbuild b/arch/microblaze/include/uapi/asm/Kbuild index cb6784f4a427..e77a596f3f1e 100644 --- a/arch/microblaze/include/uapi/asm/Kbuild +++ b/arch/microblaze/include/uapi/asm/Kbuild @@ -1,5 +1,28 @@ # UAPI Header export list include include/uapi/asm-generic/Kbuild.asm -generic-y += types.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 += mman.h +generic-y += msgbuf.h +generic-y += param.h +generic-y += poll.h +generic-y += resource.h +generic-y += sembuf.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