From patchwork Mon Jun 12 03:27:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 103591 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp13854qgd; Sun, 11 Jun 2017 20:31:45 -0700 (PDT) X-Received: by 10.84.231.1 with SMTP id f1mr53560190plk.258.1497238305051; Sun, 11 Jun 2017 20:31:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497238305; cv=none; d=google.com; s=arc-20160816; b=W8DEBS4/rTHXJnv27X6xLaatjPHfjpzZg9MZrv0OTfzXI28CXzy9gAeN05h/goClVF 0eMV4NzBZciUC0wKPqt5SX3X4H7V0zdMhIH2Qy1AKkUgIkAeVPCh60jTYC6ODHGa4bIx iRkvoYZSUCxnRFFWgqHu08FflgLTZ8pmjy3MDWfgiVHbHuQSDfq5Mh1dRkue772hOBjo zLN/McAxZ/HkAfaGXlWttRdZmYWyGJz+U/+eGGupWfN2ZLmyrV6jyqwkAY39z4sjMGdo 7Vqhnqlj1Ja80C7UUzCbGewnbTbhyZTY/0jhk/XCkyPZIclHWre/xOZT7c9PYuHr8fXS ezKA== 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=h1gU8dyZX7MX1g8DKhjZKu/5CmBoBr+2pkECQqtSSM8=; b=iDLJ8NfulfNs8KTzchtOCj8McfEvvVtf4ZuYJpiQ71hw7wbT3AR5gf5Gh0+AY9SAf9 c4s7DDy/ZVYBfo/Oe/6zXQPUjSaVoCKtT1MJlVQ/zz70m/skhEWoUdXb/cZcBC0XuAvM Rv8POPCne3u8vdtOk+IhdpwUBSt3FfMeMdren/MEUEIuobfk7EU+WzNNwnCOeQPkLnWn 1hh5kgreuIwaAZrh6qIogs8m2IMXl8oSRm8PiduEY9tqc9Owgrm0KmPGfmvCEW2Hdm/W ZSKmb31NB3ZHB5jetV15FjyiAhtCFKFVhsREM+Tz6dYcpxzJCnXWhlH8hY0dpK9NyQic n0IA== 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 r11si6108524plj.140.2017.06.11.20.31.44; Sun, 11 Jun 2017 20:31:45 -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 S1752360AbdFLDbV (ORCPT + 25 others); Sun, 11 Jun 2017 23:31:21 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:63998 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752137AbdFLD2H (ORCPT ); Sun, 11 Jun 2017 23:28:07 -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 v5C3RXP9001077; Mon, 12 Jun 2017 12:27:42 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v5C3RXP9001077 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1497238062; bh=h1gU8dyZX7MX1g8DKhjZKu/5CmBoBr+2pkECQqtSSM8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=L9W/DSmBHWBAmV+hjKJL2VpWGNt0EzKaiXIwhYbAihBHmSR90ajKDipilN/XOjqaU u5jtI4gkv2VDTSxMXDflLsqEHIwDNdEoHWh41jBEAnCrPz1PWPSoC31qSqNkKVwvHY Bn6RRm/0/8PsaQI6tOmTDaPT+S0RHr2uV3iQeYSO5mzxzb7+28AataXqvNIBILTynE tQKoGBHYenN/NEGkc/o9irUu7hXX3GI6/nVxYAcDVC8dinKdz+G48bYd3LuQdsOhCg aBit6oRp+H6ctIetaEb6mGRYZYiNeFvRNeKiSTLUx97o9pgbkdNE8l2BY1Mt0+HO4t 0Vncv3cLMsK1Q== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org, linux-arch Cc: Masahiro Yamada , Mikael Starvik , linux-cris-kernel@axis.com, Jesper Nilsson , linux-kernel@vger.kernel.org Subject: [PATCH 09/27] cris: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 12 Jun 2017 12:27:03 +0900 Message-Id: <1497238041-7011-10-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/cris/include/asm/Kbuild | 18 ------------------ arch/cris/include/uapi/asm/Kbuild | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 18 deletions(-) -- 2.7.4 diff --git a/arch/cris/include/asm/Kbuild b/arch/cris/include/asm/Kbuild index 2890099992a9..5194aad168a3 100644 --- a/arch/cris/include/asm/Kbuild +++ b/arch/cris/include/asm/Kbuild @@ -1,48 +1,30 @@ generic-y += atomic.h -generic-y += auxvec.h generic-y += barrier.h -generic-y += bitsperlong.h generic-y += clkdev.h generic-y += cmpxchg.h generic-y += current.h generic-y += device.h generic-y += div64.h -generic-y += errno.h generic-y += exec.h generic-y += extable.h generic-y += emergency-restart.h -generic-y += fcntl.h generic-y += futex.h generic-y += hardirq.h -generic-y += ioctl.h -generic-y += ipcbuf.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 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 += percpu.h -generic-y += poll.h generic-y += preempt.h -generic-y += resource.h generic-y += sections.h -generic-y += sembuf.h -generic-y += shmbuf.h -generic-y += siginfo.h -generic-y += socket.h -generic-y += sockios.h -generic-y += statfs.h generic-y += topology.h generic-y += trace_clock.h -generic-y += types.h generic-y += vga.h generic-y += word-at-a-time.h generic-y += xor.h diff --git a/arch/cris/include/uapi/asm/Kbuild b/arch/cris/include/uapi/asm/Kbuild index b15bf6bc0e94..3687b54bb18e 100644 --- a/arch/cris/include/uapi/asm/Kbuild +++ b/arch/cris/include/uapi/asm/Kbuild @@ -1,2 +1,21 @@ # 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 += ipcbuf.h +generic-y += kvm_para.h +generic-y += mman.h +generic-y += msgbuf.h +generic-y += poll.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 += statfs.h +generic-y += types.h