summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJorge Ramirez-Ortiz <jro@xenomai.org>2015-04-07 12:59:11 -0400
committerJorge Ramirez-Ortiz <jro@xenomai.org>2015-04-07 12:59:11 -0400
commit2de998bfd719c9929c7f37d70110d805e267ff2c (patch)
tree1f4cce1081178b67c1ab05bae26bb101d56f1927 /arch
parentb05d49a829fcc8d92472286891e599e414c85015 (diff)
Revert "ARM64:ILP32: Use the same size and layout of the signal structures for ILP32 as for LP64"
This reverts commit d3813d97d5face12f9762a394e845fff7774c0dc. Signed-off-by: Jorge Ramirez-Ortiz <jro@xenomai.org> Conflicts: arch/arm64/include/uapi/asm/signal.h
Diffstat (limited to 'arch')
-rw-r--r--arch/arm64/include/uapi/asm/siginfo.h33
-rw-r--r--arch/arm64/include/uapi/asm/signal.h34
2 files changed, 0 insertions, 67 deletions
diff --git a/arch/arm64/include/uapi/asm/siginfo.h b/arch/arm64/include/uapi/asm/siginfo.h
index c80c612885ae..5a74a0853db0 100644
--- a/arch/arm64/include/uapi/asm/siginfo.h
+++ b/arch/arm64/include/uapi/asm/siginfo.h
@@ -1,6 +1,5 @@
/*
* Copyright (C) 2012 ARM Ltd.
- * Copyright (C) 2014 Cavium Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
@@ -19,38 +18,6 @@
#define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int))
-#ifdef __ILP32__
-
-/*
- * For ILP32, the siginfo structures should share the same layout and
- * alignement requirements as LP64 ABI.
- * To do this, use an extra pad field and add aligned attribute
- * to the structure.
- */
-
-# ifdef __AARCH64EB__
-# define __SIGINFO_INNER(type, field) \
- int __pad#field; \
- type field
-# else
-# define __SIGINFO_INNER(type, field) \
- type field; \
- int __pad#field
-# endif
-
-# undef __SIGINFO_VOIDPTR
-# define __SIGINFO_VOIDPTR(field) \
- __SIGINFO_INNER(void __user*, field)
-# undef __SIGINFO_BAND
-
-# define __SIGINFO_BAND(field) \
- __SIGINFO_INNER(long, field)
-
-/* Make the alignment of siginfo always 8 byte aligned. */
-#define __ARCH_SI_ATTRIBUTES __attribute__((aligned(8)))
-
-#endif
-
#include <asm-generic/siginfo.h>
#endif
diff --git a/arch/arm64/include/uapi/asm/signal.h b/arch/arm64/include/uapi/asm/signal.h
index f378ff4f93d7..8d1e7236431b 100644
--- a/arch/arm64/include/uapi/asm/signal.h
+++ b/arch/arm64/include/uapi/asm/signal.h
@@ -16,43 +16,9 @@
#ifndef __ASM_SIGNAL_H
#define __ASM_SIGNAL_H
-#include <asm/posix_types.h>
-
/* Required for AArch32 compatibility. */
#define SA_RESTORER 0x04000000
-/*
- * Since sigset is a bitmask, we need the same size fields for ILP32
- * and LP64. With big-endian, 32bit bitmask does not match up to
- * 64bit bitmask (unlike with little-endian).
- */
-#ifdef __ILP32__
-
-#define __SIGSET_INNER_TYPE __kernel_ulong_t
-#define _NSIG_BPW 64
-
-# ifdef __AARCH64EB__
-# define __SIGNAL_INNER(type, field) \
- int __pad_##field; \
- type field;
-# else
-# define __SIGNAL_INNER(type, field) \
- type field; \
- int __pad_##field;
-# endif
-
-# define __SIGACTION_HANDLER(field) \
- __SIGNAL_INNER(__sighandler_t, field)
-
-
-#define __SIGACTION_FLAGS(field) \
- __kernel_ulong_t field
-
-#define __SIGACTION_RESTORER(field) \
- __SIGNAL_INNER(__sigrestore_t, field)
-
-#endif
-
#include <asm-generic/signal.h>
#endif