From: Andrew Morton <akpm@linux-foundation.org>
To: Andi Kleen <andi@firstfloor.org>
Cc: viro@zeniv.linux.org.uk, linux-kernel@vger.kernel.org,
Andi Kleen <ak@linux.intel.com>
Subject: Re: [PATCH] Use gcc alias instead of assembler aliases for syscalls
Date: Mon, 5 Aug 2013 22:59:49 -0700 [thread overview]
Message-ID: <20130805225949.82a82dda.akpm@linux-foundation.org> (raw)
In-Reply-To: <1375740575-7640-1-git-send-email-andi@firstfloor.org>
On Mon, 5 Aug 2013 15:09:35 -0700 Andi Kleen <andi@firstfloor.org> wrote:
> From: Andi Kleen <ak@linux.intel.com>
>
> Use standard gcc __attribute__((alias(foo))) to define
> the syscall aliases instead of custom assembler macros.
>
> This is far cleaner, and also fixes my LTO kernel build.
I wonder what gcc version this was added in. Seems fairly longstanding.
> { \
> return C_SYSC##name(__MAP(x,__SC_DELOUSE,__VA_ARGS__)); \
> } \
> - SYSCALL_ALIAS(compat_sys##name, compat_SyS##name); \
I think we can remove the SYSCALL_ALIAS definitions?
next prev parent reply other threads:[~2013-08-06 6:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-05 22:09 [PATCH] Use gcc alias instead of assembler aliases for syscalls Andi Kleen
2013-08-06 5:59 ` Andrew Morton [this message]
2013-08-06 6:42 ` Andi Kleen
2013-08-06 7:40 ` Al Viro
2013-08-07 23:54 ` Andrew Morton
2013-08-08 4:39 ` Andi Kleen
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=20130805225949.82a82dda.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=ak@linux.intel.com \
--cc=andi@firstfloor.org \
--cc=linux-kernel@vger.kernel.org \
--cc=viro@zeniv.linux.org.uk \
/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.