[PATCH] x86-64: also define AT_VECTOR_SIZE_ARCH

From: Jan Beulich
Date: Mon Dec 10 2007 - 10:42:20 EST


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

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
Cc: Olaf Hering <olaf@xxxxxxxxx>

include/asm-x86/system_64.h | 6 ++++++
1 file changed, 6 insertions(+)

--- linux-2.6.24-rc4/include/asm-x86/system_64.h 2007-12-10 16:11:42.000000000 +0100
+++ 2.6.24-rc4-x86_64-at-vector-size/include/asm-x86/system_64.h 2007-12-04 16:09:33.000000000 +0100
@@ -7,6 +7,12 @@

#ifdef __KERNEL__

+#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"




--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/