Re: [PATCH] Use gcc alias instead of assembler aliases for syscalls

2013-08-07 Thread Andi Kleen
On Wed, Aug 07, 2013 at 04:54:21PM -0700, Andrew Morton wrote: > On Mon, 5 Aug 2013 15:09:35 -0700 Andi Kleen wrote: > > > From: Andi Kleen > > > > Use standard gcc __attribute__((alias(foo))) to define > > the syscall aliases instead of custom assembler macros. > > > > This is far cleaner, a

Re: [PATCH] Use gcc alias instead of assembler aliases for syscalls

2013-08-07 Thread Andrew Morton
On Mon, 5 Aug 2013 15:09:35 -0700 Andi Kleen wrote: > From: Andi Kleen > > 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. > This makes my x86_64 allmodconfig build

Re: [PATCH] Use gcc alias instead of assembler aliases for syscalls

2013-08-06 Thread Al Viro
On Tue, Aug 06, 2013 at 08:42:01AM +0200, Andi Kleen wrote: > On Mon, Aug 05, 2013 at 10:59:49PM -0700, Andrew Morton wrote: > > On Mon, 5 Aug 2013 15:09:35 -0700 Andi Kleen wrote: > > > > > From: Andi Kleen > > > > > > Use standard gcc __attribute__((alias(foo))) to define > > > the syscall a

Re: [PATCH] Use gcc alias instead of assembler aliases for syscalls

2013-08-05 Thread Andi Kleen
On Mon, Aug 05, 2013 at 10:59:49PM -0700, Andrew Morton wrote: > On Mon, 5 Aug 2013 15:09:35 -0700 Andi Kleen wrote: > > > From: Andi Kleen > > > > Use standard gcc __attribute__((alias(foo))) to define > > the syscall aliases instead of custom assembler macros. > > > > This is far cleaner, a

Re: [PATCH] Use gcc alias instead of assembler aliases for syscalls

2013-08-05 Thread Andrew Morton
On Mon, 5 Aug 2013 15:09:35 -0700 Andi Kleen wrote: > From: Andi Kleen > > 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

[PATCH] Use gcc alias instead of assembler aliases for syscalls

2013-08-05 Thread Andi Kleen
From: Andi Kleen 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. Signed-off-by: Andi Kleen --- include/linux/compat.h | 4 ++-- include/linux/syscalls.h | 4 ++-- 2 files