[PATCH] x86-64: also define AT_VECTOR_SIZE_ARCH

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Jan Beulich <[email protected]>
Cc: Olaf Hering <[email protected]>

 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux