Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ded9aa0d authored by Jan Beulich's avatar Jan Beulich Committed by Ingo Molnar
Browse files

x86: also define AT_VECTOR_SIZE_ARCH



The patch introducing this left out x86-64, despite it also having
extra entries.

[ mingo@elte.hu: re-merged this to after the unification patches. ]

Signed-off-by: default avatarJan Beulich <jbeulich@novell.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent e9427101
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -9,8 +9,14 @@
#include <linux/kernel.h>
#include <linux/irqflags.h>

/* entries in ARCH_DLINFO: */
#ifdef CONFIG_IA32_EMULATION
# define AT_VECTOR_SIZE_ARCH 2
#else
# define AT_VECTOR_SIZE_ARCH 1
#endif

#ifdef CONFIG_X86_32
#define AT_VECTOR_SIZE_ARCH 2 /* entries in ARCH_DLINFO */

struct task_struct; /* one of the stranger aspects of C forward declarations */
extern struct task_struct *FASTCALL(__switch_to(struct task_struct *prev,