On Mon,  5 Aug 2013 15:09:35 -0700 Andi Kleen <a...@firstfloor.org> wrote:

> From: Andi Kleen <a...@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?


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to