public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86-64: also define AT_VECTOR_SIZE_ARCH
@ 2007-12-10 15:42 Jan Beulich
  2007-12-17 13:42 ` Ingo Molnar
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Beulich @ 2007-12-10 15:42 UTC (permalink / raw)
  To: mingo; +Cc: olaf, linux-kernel

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

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Cc: Olaf Hering <olaf@aepfle.de>

 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"
 




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-12-17 13:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-10 15:42 [PATCH] x86-64: also define AT_VECTOR_SIZE_ARCH Jan Beulich
2007-12-17 13:42 ` Ingo Molnar
2007-12-17 13:53   ` Jan Beulich
2007-12-17 13:55     ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox