All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jan Beulich" <jbeulich@novell.com>
To: <mingo@redhat.com>
Cc: <olaf@aepfle.de>, <linux-kernel@vger.kernel.org>
Subject: [PATCH] x86-64: also define AT_VECTOR_SIZE_ARCH
Date: Mon, 10 Dec 2007 15:42:57 +0000	[thread overview]
Message-ID: <475D6C91.76E4.0078.0@novell.com> (raw)

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"
 




             reply	other threads:[~2007-12-10 15:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-10 15:42 Jan Beulich [this message]
2007-12-17 13:42 ` [PATCH] x86-64: also define AT_VECTOR_SIZE_ARCH Ingo Molnar
2007-12-17 13:53   ` Jan Beulich
2007-12-17 13:55     ` Ingo Molnar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=475D6C91.76E4.0078.0@novell.com \
    --to=jbeulich@novell.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=olaf@aepfle.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.