Skip to content

Commit

Permalink
x86: also define AT_VECTOR_SIZE_ARCH
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
  • Loading branch information
Jan Beulich authored and Ingo Molnar committed Dec 18, 2007
1 parent 0b0122f commit 213fde7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions include/asm-x86/system_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 213fde7

Please sign in to comment.