From patchwork Mon Jun 12 03:27:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 103585 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp13284qgd; Sun, 11 Jun 2017 20:29:30 -0700 (PDT) X-Received: by 10.99.99.65 with SMTP id x62mr26905805pgb.211.1497238170089; Sun, 11 Jun 2017 20:29:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497238170; cv=none; d=google.com; s=arc-20160816; b=RJe5hGYvBw1Tk6XMGHlteL785FjsyyEPQi8K6sC7w/5O8f1s8lHY9qnO3lY5R6PpSW fGPTgXl88ETXgPIkl6B4HMrfTnAE1UwS4AqCkJxLDsSrXvgxqjtRjJPCphsuX6y+9f+Y 0ZPW3bOZJaOfMp+7V++Jhd/60hX4Xggg5RmqLgz5sVLyN9sH8wOKDXooQFrBfeadAiYR YILA0dLCt9zVeyb9G+7hH4gSyn72WyCWMGpz2XTFNxjwSqp1LpCtT9UttsXZ1RY+zVJ8 KuT25x/N3HOJz4XwuupS26pbac/FpXpaTWTx5wNpv6WQgnWIOaRe6p78D+63qsKKcjdn 9veQ== 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=+XHDxCC9exOZ5jXY0TGzKz88G+i/IsNwOTDNrSAwsic=; b=Fj+KWNlMcyrsg7dfTJlvUFn/pD+hl1d/uDhFokxemfzv127z2Gk1vTm6vpTEMpm+lI TuHK0NLTe9GgphKKXKQNTXjnj+lc4epud4tUCvJ4lSHPjhnQbDXIKeW5zrabR3zWCu/M zJ7kFbIBs/4vDejJFm/Xs0S9IY1x2J+R3vnVWgiaN1654dyszphTKoEJDkDBf9td6qaV pulOnttLUYkt/LXhBQI9tlPbByxc8MeM5gCz7DCkpA6j29SY9YzkwyR38JXdzNE2LgEU eA1NAUN4vFU5sxyAb63x+NhlRMC4YxGeK/goOHzuPj0S7V0fx/v8WyEM3/W85dzY5VuR 0aKg== 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 w13si6095706pfi.382.2017.06.11.20.29.29; Sun, 11 Jun 2017 20:29:30 -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 S1752354AbdFLD3E (ORCPT + 25 others); Sun, 11 Jun 2017 23:29:04 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:65442 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752329AbdFLD3B (ORCPT ); Sun, 11 Jun 2017 23:29:01 -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 v5C3RXPI001077; Mon, 12 Jun 2017 12:27:48 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v5C3RXPI001077 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1497238068; bh=+XHDxCC9exOZ5jXY0TGzKz88G+i/IsNwOTDNrSAwsic=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SNf4iP1v3iy19ENBoi7sP2nD16x6t5TFW+1hTP7ccKgPI1tBAk7LI/ZT2R+U/5UMW 8K6Mj3AmtMnbOgNGiIFahgsKMrGlbkyN54O82oGdzXeCHDs2bq+aKB9Xq1WfG+PP6W VrV8/zMnTvY8S4WRbFZ6EYeU7bIaXTGZ4tZg9T2uERv6Uu8k7IQCBCQPaE9Kl0un8D i4NkRrn9GaVRNi4VcV0QP0HBlEFd7tRXQzk556aLynahwanGufSlZ8ocNg9SN1paPR Y3yWJ/+5YljOmPhAbCcIYb7BCJkVEqA3A6VUeLumlgchCv1cvy8BpQwQdBAdl+T1Dm MHLk4fwqce99A== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org, linux-arch Cc: Masahiro Yamada , openrisc@lists.librecores.org, Stafford Horne , Jonas Bonn , Stefan Kristiansson , linux-kernel@vger.kernel.org Subject: [PATCH 18/27] openrisc: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 12 Jun 2017 12:27:12 +0900 Message-Id: <1497238041-7011-19-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/openrisc/include/asm/Kbuild | 28 ---------------------------- arch/openrisc/include/uapi/asm/Kbuild | 29 +++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 28 deletions(-) -- 2.7.4 diff --git a/arch/openrisc/include/asm/Kbuild b/arch/openrisc/include/asm/Kbuild index fdbcf0bf44a4..5e209fcd9a54 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,56 +9,30 @@ 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 += 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 += siginfo.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 diff --git a/arch/openrisc/include/uapi/asm/Kbuild b/arch/openrisc/include/uapi/asm/Kbuild index b15bf6bc0e94..62286dbeb904 100644 --- a/arch/openrisc/include/uapi/asm/Kbuild +++ b/arch/openrisc/include/uapi/asm/Kbuild @@ -1,2 +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