All of lore.kernel.org
 help / color / mirror / Atom feed
From: Masahiro Yamada <yamada.masahiro@socionext.com>
To: linux-kbuild@vger.kernel.org, linux-arch <linux-arch@vger.kernel.org>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>,
	Yoshinori Sato <ysato@users.sourceforge.jp>,
	Rich Felker <dalias@libc.org>,
	linux-kernel@vger.kernel.org, linux-sh@vger.kernel.org
Subject: [PATCH 20/27] sh: move generic-y of exported headers to uapi/asm/Kbuild
Date: Mon, 12 Jun 2017 03:27:14 +0000	[thread overview]
Message-ID: <1497238041-7011-21-git-send-email-yamada.masahiro@socionext.com> (raw)
In-Reply-To: <1497238041-7011-1-git-send-email-yamada.masahiro@socionext.com>

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 <yamada.masahiro@socionext.com>
---

 arch/sh/include/asm/Kbuild      | 20 --------------------
 arch/sh/include/uapi/asm/Kbuild | 20 ++++++++++++++++++++
 2 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/arch/sh/include/asm/Kbuild b/arch/sh/include/asm/Kbuild
index cf2a75063b53..1a6f9c39feef 100644
--- a/arch/sh/include/asm/Kbuild
+++ b/arch/sh/include/asm/Kbuild
@@ -1,40 +1,20 @@
-
-generic-y += bitsperlong.h
 generic-y += clkdev.h
 generic-y += current.h
 generic-y += delay.h
 generic-y += div64.h
 generic-y += emergency-restart.h
-generic-y += errno.h
 generic-y += exec.h
-generic-y += fcntl.h
-generic-y += ioctl.h
-generic-y += ipcbuf.h
 generic-y += irq_regs.h
 generic-y += irq_work.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 += param.h
 generic-y += parport.h
 generic-y += percpu.h
-generic-y += poll.h
 generic-y += preempt.h
-generic-y += resource.h
 generic-y += rwsem.h
-generic-y += sembuf.h
 generic-y += serial.h
-generic-y += shmbuf.h
-generic-y += siginfo.h
 generic-y += sizes.h
-generic-y += socket.h
-generic-y += statfs.h
-generic-y += termbits.h
-generic-y += termios.h
 generic-y += trace_clock.h
-generic-y += ucontext.h
 generic-y += xor.h
diff --git a/arch/sh/include/uapi/asm/Kbuild b/arch/sh/include/uapi/asm/Kbuild
index b15bf6bc0e94..e28531333efa 100644
--- a/arch/sh/include/uapi/asm/Kbuild
+++ b/arch/sh/include/uapi/asm/Kbuild
@@ -1,2 +1,22 @@
 # 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 += 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 += resource.h
+generic-y += sembuf.h
+generic-y += shmbuf.h
+generic-y += siginfo.h
+generic-y += socket.h
+generic-y += statfs.h
+generic-y += termbits.h
+generic-y += termios.h
+generic-y += ucontext.h
-- 
2.7.4


WARNING: multiple messages have this Message-ID (diff)
From: Masahiro Yamada <yamada.masahiro@socionext.com>
To: linux-kbuild@vger.kernel.org, linux-arch <linux-arch@vger.kernel.org>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>,
	Yoshinori Sato <ysato@users.sourceforge.jp>,
	Rich Felker <dalias@libc.org>,
	linux-kernel@vger.kernel.org, linux-sh@vger.kernel.org
Subject: [PATCH 20/27] sh: move generic-y of exported headers to uapi/asm/Kbuild
Date: Mon, 12 Jun 2017 12:27:14 +0900	[thread overview]
Message-ID: <1497238041-7011-21-git-send-email-yamada.masahiro@socionext.com> (raw)
In-Reply-To: <1497238041-7011-1-git-send-email-yamada.masahiro@socionext.com>

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 <yamada.masahiro@socionext.com>
---

 arch/sh/include/asm/Kbuild      | 20 --------------------
 arch/sh/include/uapi/asm/Kbuild | 20 ++++++++++++++++++++
 2 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/arch/sh/include/asm/Kbuild b/arch/sh/include/asm/Kbuild
index cf2a75063b53..1a6f9c39feef 100644
--- a/arch/sh/include/asm/Kbuild
+++ b/arch/sh/include/asm/Kbuild
@@ -1,40 +1,20 @@
-
-generic-y += bitsperlong.h
 generic-y += clkdev.h
 generic-y += current.h
 generic-y += delay.h
 generic-y += div64.h
 generic-y += emergency-restart.h
-generic-y += errno.h
 generic-y += exec.h
-generic-y += fcntl.h
-generic-y += ioctl.h
-generic-y += ipcbuf.h
 generic-y += irq_regs.h
 generic-y += irq_work.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 += param.h
 generic-y += parport.h
 generic-y += percpu.h
-generic-y += poll.h
 generic-y += preempt.h
-generic-y += resource.h
 generic-y += rwsem.h
-generic-y += sembuf.h
 generic-y += serial.h
-generic-y += shmbuf.h
-generic-y += siginfo.h
 generic-y += sizes.h
-generic-y += socket.h
-generic-y += statfs.h
-generic-y += termbits.h
-generic-y += termios.h
 generic-y += trace_clock.h
-generic-y += ucontext.h
 generic-y += xor.h
diff --git a/arch/sh/include/uapi/asm/Kbuild b/arch/sh/include/uapi/asm/Kbuild
index b15bf6bc0e94..e28531333efa 100644
--- a/arch/sh/include/uapi/asm/Kbuild
+++ b/arch/sh/include/uapi/asm/Kbuild
@@ -1,2 +1,22 @@
 # 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 += 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 += resource.h
+generic-y += sembuf.h
+generic-y += shmbuf.h
+generic-y += siginfo.h
+generic-y += socket.h
+generic-y += statfs.h
+generic-y += termbits.h
+generic-y += termios.h
+generic-y += ucontext.h
-- 
2.7.4

  parent reply	other threads:[~2017-06-12  3:27 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-12  3:26 [PATCH 00/27] kbuild, arch: complete UAPI de-coupling and cleanup scripts/Makefile.headersinst Masahiro Yamada
2017-06-12  3:26 ` Masahiro Yamada
2017-06-12  3:26 ` Masahiro Yamada
2017-06-12  3:26 ` Masahiro Yamada
2017-06-12  3:26 ` Masahiro Yamada
2017-06-12  3:26 ` Masahiro Yamada
2017-06-12  3:26 ` Masahiro Yamada
2017-06-12  3:26 ` [PATCH 01/27] kbuild: remove useless $(gen) variable in Makefile.headersinst Masahiro Yamada
2017-06-12  3:26 ` [PATCH 02/27] kbuild: fix comment about dst of headers_{install,check}_all Masahiro Yamada
2017-06-12  3:26 ` [PATCH 03/27] kbuild: pass dst= to Makefile.headersinst from top Makefile Masahiro Yamada
2017-06-12  3:26 ` [PATCH 04/27] arm64: move generic-y of exported headers to uapi/asm/Kbuild Masahiro Yamada
2017-06-12  3:26   ` Masahiro Yamada
2017-06-12 12:09   ` Catalin Marinas
2017-06-12 12:09     ` Catalin Marinas
2017-06-12  3:26 ` [PATCH 05/27] ARM: " Masahiro Yamada
2017-06-12  3:26   ` Masahiro Yamada
2017-06-12  3:27 ` [PATCH 06/27] arc: " Masahiro Yamada
2017-06-12  3:27   ` Masahiro Yamada
2017-06-12  3:27 ` [PATCH 07/27] blackfin: " Masahiro Yamada
2017-06-12  3:27 ` [PATCH 08/27] c6x: " Masahiro Yamada
2017-06-12  3:27 ` [PATCH 09/27] cris: " Masahiro Yamada
2017-06-12  3:27 ` [PATCH 10/27] h8300: " Masahiro Yamada
2017-06-12  3:27 ` [PATCH 11/27] hexagon: " Masahiro Yamada
2017-06-12  3:27 ` [PATCH 12/27] ia64: " Masahiro Yamada
2017-06-12  3:27   ` Masahiro Yamada
2017-06-12  3:27 ` [PATCH 13/27] m32r: " Masahiro Yamada
2017-06-12  3:27 ` [PATCH 14/27] m68k: " Masahiro Yamada
2017-06-12  3:27 ` Masahiro Yamada
2017-06-12  3:27   ` Masahiro Yamada
2017-06-12 12:10   ` Geert Uytterhoeven
2017-06-12 12:10     ` Geert Uytterhoeven
2017-06-12 12:10     ` Geert Uytterhoeven
2017-06-12 12:10   ` Geert Uytterhoeven
2017-06-12  3:27 ` [PATCH 15/27] metag: " Masahiro Yamada
2017-06-12  3:27 ` [PATCH 16/27] nios2: remove unneeded arch/nios2/include/(generated/)asm/signal.h Masahiro Yamada
2017-06-12  3:27 ` [PATCH 17/27] nios2: move generic-y of exported headers to uapi/asm/Kbuild Masahiro Yamada
2017-06-12  3:27 ` [PATCH 18/27] openrisc: " Masahiro Yamada
2017-06-12  3:27   ` [OpenRISC] " Masahiro Yamada
2017-06-12  3:27 ` [PATCH 19/27] parisc: " Masahiro Yamada
2017-06-12  3:27 ` Masahiro Yamada [this message]
2017-06-12  3:27   ` [PATCH 20/27] sh: " Masahiro Yamada
2017-06-12  3:27 ` [PATCH 21/27] sparc: " Masahiro Yamada
2017-06-12  3:27   ` Masahiro Yamada
2017-06-12  3:27 ` [PATCH 22/27] tile: " Masahiro Yamada
2017-06-12  3:27 ` [PATCH 23/27] unicore32: " Masahiro Yamada
2017-06-12  3:27 ` [PATCH 24/27] xtensa: " Masahiro Yamada
2017-06-12  3:27 ` [PATCH 25/27] kbuild: do not include old-kbuild-file from Makefile.headersinst Masahiro Yamada
2017-06-12  3:27 ` [PATCH 26/27] kbuild: split exported generic header creation into uapi-asm-generic Masahiro Yamada
2017-06-12  3:27 ` [PATCH 27/27] kbuild: remove wrapper files handling from Makefile.headersinst Masahiro Yamada

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1497238041-7011-21-git-send-email-yamada.masahiro@socionext.com \
    --to=yamada.masahiro@socionext.com \
    --cc=dalias@libc.org \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sh@vger.kernel.org \
    --cc=ysato@users.sourceforge.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.