From: Jan Beulich Date: Tue, 18 Dec 2007 17:05:58 +0000 (+0100) Subject: x86: also define AT_VECTOR_SIZE_ARCH X-Git-Tag: MMI-PSA29.97-13-9~37946^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=213fde71024223abcdd7d9e5349d1ea2679227b5;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git x86: also define AT_VECTOR_SIZE_ARCH The patch introducing this left out 64-bit x86 despite it also having extra entries. this solves Xen guest troubles. Signed-off-by: Jan Beulich Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/include/asm-x86/system_64.h b/include/asm-x86/system_64.h index 4cb23848d460..6e9e4841a2da 100644 --- a/include/asm-x86/system_64.h +++ b/include/asm-x86/system_64.h @@ -7,6 +7,13 @@ #ifdef __KERNEL__ +/* entries in ARCH_DLINFO: */ +#ifdef CONFIG_IA32_EMULATION +# define AT_VECTOR_SIZE_ARCH 2 +#else +# define AT_VECTOR_SIZE_ARCH 1 +#endif + #define __SAVE(reg,offset) "movq %%" #reg ",(14-" #offset ")*8(%%rsp)\n\t" #define __RESTORE(reg,offset) "movq (14-" #offset ")*8(%%rsp),%%" #reg "\n\t"