Skip to content

Commit 213fde7

Browse files
Jan BeulichIngo Molnar
authored andcommitted
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 <jbeulich@novell.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
1 parent 0b0122f commit 213fde7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

include/asm-x86/system_64.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@
77

88
#ifdef __KERNEL__
99

10+
/* entries in ARCH_DLINFO: */
11+
#ifdef CONFIG_IA32_EMULATION
12+
# define AT_VECTOR_SIZE_ARCH 2
13+
#else
14+
# define AT_VECTOR_SIZE_ARCH 1
15+
#endif
16+
1017
#define __SAVE(reg,offset) "movq %%" #reg ",(14-" #offset ")*8(%%rsp)\n\t"
1118
#define __RESTORE(reg,offset) "movq (14-" #offset ")*8(%%rsp),%%" #reg "\n\t"
1219

0 commit comments

Comments
 (0)