Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1657068

Re: [PATCH 5/5] remove non-uapi <asm/siginfo.h>

From Thomas Gleixner <tglx@linutronix.de>
Newsgroups linux.kernel
Subject Re: [PATCH 5/5] remove non-uapi <asm/siginfo.h>
Date 2017-06-04 15:20 +0200
Message-ID <tODBL-5Ak-1@gated-at.bofh.it> (permalink)
References <tOmAW-2vN-7@gated-at.bofh.it> <tOmAW-2vN-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, 3 Jun 2017, Christoph Hellwig wrote:

> By moving the kernel side __SI_* defintions right next to the userspace
> ones we can kill the non-uapi versions of <asm/siginfo.h> include
> include/asm-generic/siginfo.h and untangle the unholy mess of includes.

That needs a couple of fixups and we can remove

arch/X/include/uapi/asm/siginfo.h from m32r, microblaze, mn10300 and score.

Delta patch below.

Thanks,

	tglx

8<--------------------
--- a/arch/sh/include/uapi/asm/Kbuild
+++ b/arch/sh/include/uapi/asm/Kbuild
@@ -1,3 +1,4 @@
 # UAPI Header export list
 include include/uapi/asm-generic/Kbuild.asm
+
 generic-y += siginfo.h
--- a/arch/arc/include/uapi/asm/Kbuild
+++ b/arch/arc/include/uapi/asm/Kbuild
@@ -1,2 +1,4 @@
 # UAPI Header export list
 include include/uapi/asm-generic/Kbuild.asm
+
+generic-y += siginfo.h
--- a/arch/hexagon/include/uapi/asm/Kbuild
+++ b/arch/hexagon/include/uapi/asm/Kbuild
@@ -1,2 +1,4 @@
 # UAPI Header export list
 include include/uapi/asm-generic/Kbuild.asm
+
+generic-y += siginfo.h
--- a/arch/m32r/include/uapi/asm/Kbuild
+++ b/arch/m32r/include/uapi/asm/Kbuild
@@ -1,2 +1,4 @@
 # UAPI Header export list
 include include/uapi/asm-generic/Kbuild.asm
+
+generic-y	+= siginfo.h
--- a/arch/m32r/include/uapi/asm/siginfo.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef _M32R_SIGINFO_H
-#define _M32R_SIGINFO_H
-
-#include <asm-generic/siginfo.h>
-
-#endif /* _M32R_SIGINFO_H */
--- a/arch/microblaze/include/uapi/asm/Kbuild
+++ b/arch/microblaze/include/uapi/asm/Kbuild
@@ -2,3 +2,4 @@
 include include/uapi/asm-generic/Kbuild.asm
 
 generic-y += types.h
+generic-y += siginfo.h
--- a/arch/microblaze/include/uapi/asm/siginfo.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/siginfo.h>
--- a/arch/mn10300/include/uapi/asm/Kbuild
+++ b/arch/mn10300/include/uapi/asm/Kbuild
@@ -1,2 +1,4 @@
 # UAPI Header export list
 include include/uapi/asm-generic/Kbuild.asm
+
+generic-y	+= siginfo.h
--- a/arch/mn10300/include/uapi/asm/siginfo.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/siginfo.h>
--- a/arch/score/include/uapi/asm/Kbuild
+++ b/arch/score/include/uapi/asm/Kbuild
@@ -1,2 +1,4 @@
 # UAPI Header export list
 include include/uapi/asm-generic/Kbuild.asm
+
+generic-y	+= siginfo.h
--- a/arch/score/include/uapi/asm/siginfo.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef _ASM_SCORE_SIGINFO_H
-#define _ASM_SCORE_SIGINFO_H
-
-#include <asm-generic/siginfo.h>
-
-#endif /* _ASM_SCORE_SIGINFO_H */
--- a/arch/unicore32/include/uapi/asm/Kbuild
+++ b/arch/unicore32/include/uapi/asm/Kbuild
@@ -2,3 +2,4 @@
 include include/uapi/asm-generic/Kbuild.asm
 
 generic-y += kvm_para.h
+generic-y += siginfo.h

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

untangle the <asm/siginfo.h> mess Christoph Hellwig <hch@lst.de> - 2017-06-03 21:10 +0200
  [PATCH 5/5] remove non-uapi <asm/siginfo.h> Christoph Hellwig <hch@lst.de> - 2017-06-03 21:10 +0200
    Re: [PATCH 5/5] remove non-uapi <asm/siginfo.h> Thomas Gleixner <tglx@linutronix.de> - 2017-06-04 15:20 +0200
      Re: [PATCH 5/5] remove non-uapi <asm/siginfo.h> Christoph Hellwig <hch@lst.de> - 2017-06-05 09:20 +0200
        Re: [PATCH 5/5] remove non-uapi <asm/siginfo.h> Thomas Gleixner <tglx@linutronix.de> - 2017-06-05 10:10 +0200
    [tip:timers/core] signal: Remove non-uapi <asm/siginfo.h> tip-bot for Christoph Hellwig <tipbot@zytor.com> - 2017-06-05 10:20 +0200
  [PATCH 2/5] ia64: remove HAVE_ARCH_COPY_SIGINFO Christoph Hellwig <hch@lst.de> - 2017-06-03 21:10 +0200
    [tip:timers/core] ia64: Remove HAVE_ARCH_COPY_SIGINFO tip-bot for Christoph Hellwig <tipbot@zytor.com> - 2017-06-05 10:20 +0200
  [PATCH 1/5] sparc: simplify <asm/siginfo.h> Christoph Hellwig <hch@lst.de> - 2017-06-03 21:10 +0200
    Re: [PATCH 1/5] sparc: simplify <asm/siginfo.h> David Miller <davem@davemloft.net> - 2017-06-03 23:20 +0200
    [tip:timers/core] sparc: Simplify <asm/siginfo.h> tip-bot for Christoph Hellwig <tipbot@zytor.com> - 2017-06-05 10:20 +0200
  Re: untangle the <asm/siginfo.h> mess Arnd Bergmann <arnd@arndb.de> - 2017-06-06 13:00 +0200

csiph-web