All of lore.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: Jan Beulich <JBeulich@novell.com>,
	mingo@elte.hu, tglx@linutronix.de, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] x86-64: re-use kernel/syscall_table_32.S in ia32/ia32entry.S
Date: Thu, 28 Apr 2011 11:17:32 -0700	[thread overview]
Message-ID: <4DB9AF3C.3090901@zytor.com> (raw)
In-Reply-To: <201104281435.33344.arnd@arndb.de>

On 04/28/2011 05:35 AM, Arnd Bergmann wrote:
>>
>> Yep, something like that (although I have to say the __SC_3264 syntax
>> makes me want to barf.)
> 
> If you have a suggestion for a better syntax, I'd hope we can do
> that in asm-generic as well. My goal is to have those files set
> an example of how to best write architecture specific versions if
> they have to be different.
> 

I would just call it __SYSCALL2() -- for two versions of this syscall.
I'm not all that fond of our current "compat" notion hard-coding the
assumption of a "primary" and a "compat" ABI -- largely because that
assumption is frequently false, and it is a clear violation of the
zero-one-infinity rule.

	-hpa


      reply	other threads:[~2011-04-28 18:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-27 15:33 [PATCH] x86-64: re-use kernel/syscall_table_32.S in ia32/ia32entry.S Jan Beulich
2011-04-27 15:41 ` H. Peter Anvin
2011-04-27 16:02   ` Jan Beulich
2011-04-27 16:40     ` Arnd Bergmann
2011-04-27 16:43       ` H. Peter Anvin
2011-04-28 12:35         ` Arnd Bergmann
2011-04-28 18:17           ` H. Peter Anvin [this message]

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=4DB9AF3C.3090901@zytor.com \
    --to=hpa@zytor.com \
    --cc=JBeulich@novell.com \
    --cc=arnd@arndb.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=tglx@linutronix.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.