From patchwork Mon Jun 12 03:27:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 103584 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp13151qgd; Sun, 11 Jun 2017 20:28:53 -0700 (PDT) X-Received: by 10.84.217.213 with SMTP id d21mr54634777plj.45.1497238133117; Sun, 11 Jun 2017 20:28:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497238133; cv=none; d=google.com; s=arc-20160816; b=DvY1vPsLmKWkJcA3s2HSOEovc3DRb/bSutDn/ZShFiuTIdFL7ehWgQLVJllT8cse5d ylP+PaLPvrdmn0VW2gbNvFgVfzgcQ5v5+/LyyVikimw76BnU5WVhEM92rZvb0BgDVt8E X89GS7nrSVLQw38TQYooH51uqGPZehF9ZbPSCJ8ZNOzTqvvHpr5kkWjfXcuVIwippXQA GzqTtvuV0GL9erfbLu8D22EY8EBT/kOoTmPC438V0wDd6Zkc7b6rBtiWqG9kYoaIzYto S7fOozbTw7/FC/8VEqkFTToyoJ7PRes8APLUcNR8GpdubKtGCJMz9W4hJqzIJK88cXRZ YFCg== 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=h4pXQGegDZH2TTDtISXseRE11n7Peug+tXD37ONsgA4=; b=RXROl7NR6xGp7KydHvgK2T6YvyhRKtam1JPdd57KfbijNhgUkhNYRXJyhm9ZXY9yBM fJetR5tMntVSiHaBVJ7700iSS/YWOPi1oE3jiEBBMvc5JOyRDxFKz7eTCNmNO7GL4eV7 6mUQs+bsHa6/U388wm96MCCcVgXzBZDy8Tb/qx+nv9AJf2KkIPgISeZRE1jep0iI7WRg ZlkwMNdYh3mccOd5aO0hls1MuSGRDbxKkNxBUxCE4lIPxV4T37R2tXr09TYfGqF0joZo GkMZdEw56LSHxaJDu++uiDIRKThaChVTO2OIR7Skiwcz8KD9NYA6Dlu5ercRXSN6yqQu YYUg== 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 1si12043848pgs.356.2017.06.11.20.28.52; Sun, 11 Jun 2017 20:28:53 -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 S1752318AbdFLD2u (ORCPT + 25 others); Sun, 11 Jun 2017 23:28:50 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:65179 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752296AbdFLD2r (ORCPT ); Sun, 11 Jun 2017 23:28:47 -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 v5C3RXP6001077; Mon, 12 Jun 2017 12:27:40 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v5C3RXP6001077 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1497238060; bh=h4pXQGegDZH2TTDtISXseRE11n7Peug+tXD37ONsgA4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WvBouFjls0reoClAiNNH8CM2EFvSBG+s44TbwsJiTrdEzRwWhUlNTDb8Mm9uUaKSv hzJprbGaaRhTWoC1sxH+JJ5+Sx0gGudDtPkm0Aw2CBWyZhTUnj/XyXjqH8vtvvjrVR HWzn/yn1y/5yubPL1Muv4/KS+3Ef8d2fVBmxjYtFNUwtfbrACGpyPPnarWbFpMlT7f 20AVdwzHUU+Ar4fDTtb1WaSlbeg2cIcq86wTq6hIC0LPJjGGAyQID47VrlpfqvvKeE BR1gYZSLa9abtIJu+ayx6lY9i3/4nRfw8OXQ/+BXFo4fg8Ssewo7ij34SqxoWdt+fd lpqtDuJsZRF7w== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org, linux-arch Cc: Masahiro Yamada , linux-snps-arc@lists.infradead.org, Vineet Gupta , linux-kernel@vger.kernel.org Subject: [PATCH 06/27] arc: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 12 Jun 2017 12:27:00 +0900 Message-Id: <1497238041-7011-7-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/arc/include/asm/Kbuild | 25 ------------------------- arch/arc/include/uapi/asm/Kbuild | 26 ++++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 25 deletions(-) -- 2.7.4 diff --git a/arch/arc/include/asm/Kbuild b/arch/arc/include/asm/Kbuild index 7bee4e4799fd..353dae386b2f 100644 --- a/arch/arc/include/asm/Kbuild +++ b/arch/arc/include/asm/Kbuild @@ -1,52 +1,27 @@ -generic-y += auxvec.h -generic-y += bitsperlong.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 += 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_regs.h generic-y += irq_work.h generic-y += kmap_types.h -generic-y += kvm_para.h 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 += msi.h -generic-y += param.h generic-y += parport.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 += sembuf.h -generic-y += shmbuf.h -generic-y += siginfo.h -generic-y += socket.h -generic-y += sockios.h -generic-y += stat.h -generic-y += statfs.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/arc/include/uapi/asm/Kbuild b/arch/arc/include/uapi/asm/Kbuild index b15bf6bc0e94..fa6d0ff4ff89 100644 --- a/arch/arc/include/uapi/asm/Kbuild +++ b/arch/arc/include/uapi/asm/Kbuild @@ -1,2 +1,28 @@ # 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 += param.h +generic-y += poll.h +generic-y += posix_types.h +generic-y += resource.h +generic-y += sembuf.h +generic-y += shmbuf.h +generic-y += siginfo.h +generic-y += socket.h +generic-y += sockios.h +generic-y += stat.h +generic-y += statfs.h +generic-y += termbits.h +generic-y += termios.h +generic-y += types.h +generic-y += ucontext.h