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:
parent
8b58aa17fb
commit
11c4fc6d99
@ -1,2 +1,3 @@
|
||||
#define HAVE_ARCH_GETRVAL2 1
|
||||
#define HAVE_ARCH_DEDICATED_ERR_REG 1
|
||||
#define HAVE_ARCH_UNALIGNED_ACCESS 0
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user