[3/5] hppa: Remove kernel_sigaction.h

Message ID 20181211195554.3377-3-adhemerval.zanella@linaro.org
State New
Headers show
Series
  • [1/5] m68k: Fix sigaction kernel definition (BZ #23960)
Related show

Commit Message

Adhemerval Zanella Dec. 11, 2018, 7:55 p.m.
HPPA kernel_sigaction.h definition is the sama as the Linux generic
one and old_kernel_sigaction is not used.

Checked on hppa-linux-gnu.

	* sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
---
 ChangeLog                                      |  2 ++
 .../unix/sysv/linux/hppa/kernel_sigaction.h    | 18 ------------------
 2 files changed, 2 insertions(+), 18 deletions(-)
 delete mode 100644 sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h

-- 
2.17.1

Comments

Adhemerval Zanella Dec. 18, 2018, 6:28 p.m. | #1
I will commit this shortly if no one opposes it.

On 11/12/2018 17:55, Adhemerval Zanella wrote:
> HPPA kernel_sigaction.h definition is the sama as the Linux generic

> one and old_kernel_sigaction is not used.

> 

> Checked on hppa-linux-gnu.

> 

> 	* sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.

> ---

>  ChangeLog                                      |  2 ++

>  .../unix/sysv/linux/hppa/kernel_sigaction.h    | 18 ------------------

>  2 files changed, 2 insertions(+), 18 deletions(-)

>  delete mode 100644 sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h

> 

> diff --git a/sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h b/sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h

> deleted file mode 100644

> index af048cbe7d..0000000000

> --- a/sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h

> +++ /dev/null

> @@ -1,18 +0,0 @@

> -/* We have a separate header file here because we do not support

> -   SA_RESTORER on hppa. */

> -

> -/* This is the sigaction struction from the Linux 2.1.20 kernel.  */

> -/* Blah.  This is bogus.  We don't ever use it. */

> -struct old_kernel_sigaction {

> -	__sighandler_t k_sa_handler;

> -	unsigned long sa_mask;

> -	unsigned long sa_flags;

> -};

> -

> -/* This is the sigaction structure from the Linux 2.1.68 kernel.  */

> -

> -struct kernel_sigaction {

> -	__sighandler_t k_sa_handler;

> -	unsigned long sa_flags;

> -	sigset_t sa_mask;

> -};

>

Patch

diff --git a/sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h b/sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h
deleted file mode 100644
index af048cbe7d..0000000000
--- a/sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h
+++ /dev/null
@@ -1,18 +0,0 @@ 
-/* We have a separate header file here because we do not support
-   SA_RESTORER on hppa. */
-
-/* This is the sigaction struction from the Linux 2.1.20 kernel.  */
-/* Blah.  This is bogus.  We don't ever use it. */
-struct old_kernel_sigaction {
-	__sighandler_t k_sa_handler;
-	unsigned long sa_mask;
-	unsigned long sa_flags;
-};
-
-/* This is the sigaction structure from the Linux 2.1.68 kernel.  */
-
-struct kernel_sigaction {
-	__sighandler_t k_sa_handler;
-	unsigned long sa_flags;
-	sigset_t sa_mask;
-};