linux: add arch definition for unaligned access support

* linux/arch_defs_.h [HAVE_ARCH_UNALIGNED_ACCESS]
(HAVE_ARCH_UNALIGNED_ACCESS): New macro constant, defined to 1.
* linux/alpha/arch_defs_.h (HAVE_ARCH_UNALIGNED_ACCESS): New macro
constant, defined to 0.
* linux/arm/arch_defs_.h: Likewise.
* linux/powerpc/arch_defs_.h: Likewise.
* linux/powerpc64/arch_defs_.h: Likewise.
* linux/sparc/arch_defs_.h: Likewise.
This commit is contained in:
Eugene Syromyatnikov 2018-09-01 23:35:44 +02:00
parent 8b58aa17fb
commit 11c4fc6d99
6 changed files with 9 additions and 0 deletions

View File

@ -1,2 +1,3 @@
#define HAVE_ARCH_GETRVAL2 1
#define HAVE_ARCH_DEDICATED_ERR_REG 1
#define HAVE_ARCH_UNALIGNED_ACCESS 0

View File

@ -35,3 +35,7 @@
#ifndef CAN_ARCH_BE_COMPAT_ON_64BIT_KERNEL
# define CAN_ARCH_BE_COMPAT_ON_64BIT_KERNEL 0
#endif
#ifndef HAVE_ARCH_UNALIGNED_ACCESS
# define HAVE_ARCH_UNALIGNED_ACCESS 1
#endif

View File

@ -2,3 +2,4 @@
#define HAVE_ARCH_OLD_SELECT 1
#define HAVE_ARCH_UID16_SYSCALLS 1
#define CAN_ARCH_BE_COMPAT_ON_64BIT_KERNEL 1
#define HAVE_ARCH_UNALIGNED_ACCESS 0

View File

@ -1,3 +1,4 @@
#define HAVE_ARCH_OLD_SELECT 1
#define HAVE_ARCH_DEDICATED_ERR_REG 1
#define CAN_ARCH_BE_COMPAT_ON_64BIT_KERNEL 1
#define HAVE_ARCH_UNALIGNED_ACCESS 0

View File

@ -1,3 +1,4 @@
#define HAVE_ARCH_OLD_SELECT 1
#define SUPPORTED_PERSONALITIES 2
#define HAVE_ARCH_DEDICATED_ERR_REG 1
#define HAVE_ARCH_UNALIGNED_ACCESS 0

View File

@ -3,3 +3,4 @@
#define HAVE_ARCH_SA_RESTORER 1
#define HAVE_ARCH_DEDICATED_ERR_REG 1
#define CAN_ARCH_BE_COMPAT_ON_64BIT_KERNEL 1
#define HAVE_ARCH_UNALIGNED_ACCESS 0