diff --git a/[refs] b/[refs] index 77759804f88f..52558f7238d1 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7091138fb762aed22317b4ff91eb211e7da3865c +refs/heads/master: 7a6c813594c9eb25a9afbcbd30c9865e38ee6f39 diff --git a/trunk/arch/ia64/Kconfig b/trunk/arch/ia64/Kconfig index 36c7b9682aa6..21aa4fc5f8ef 100644 --- a/trunk/arch/ia64/Kconfig +++ b/trunk/arch/ia64/Kconfig @@ -425,6 +425,9 @@ config COMPAT depends on IA32_SUPPORT default y +config COMPAT_FOR_U64_ALIGNMENT + def_bool COMPAT + config IA64_MCA_RECOVERY tristate "MCA recovery from errors other than TLB." diff --git a/trunk/arch/x86_64/Kconfig b/trunk/arch/x86_64/Kconfig index 45f82ae6d389..ffa036406289 100644 --- a/trunk/arch/x86_64/Kconfig +++ b/trunk/arch/x86_64/Kconfig @@ -765,6 +765,9 @@ config COMPAT depends on IA32_EMULATION default y +config COMPAT_FOR_U64_ALIGNMENT + def_bool COMPAT + config SYSVIPC_COMPAT bool depends on COMPAT && SYSVIPC diff --git a/trunk/fs/quota.c b/trunk/fs/quota.c index e6577ac15a6c..99b24b52bfc8 100644 --- a/trunk/fs/quota.c +++ b/trunk/fs/quota.c @@ -387,7 +387,7 @@ asmlinkage long sys_quotactl(unsigned int cmd, const char __user *special, qid_t return ret; } -#if defined(CONFIG_X86_64) || defined(CONFIG_IA64) +#if defined(CONFIG_COMPAT_FOR_U64_ALIGNMENT) /* * This code works only for 32 bit quota tools over 64 bit OS (x86_64, ia64) * and is necessary due to alignment problems.