On Mon, Aug 05, 2013 at 10:59:49PM -0700, Andrew Morton wrote: > 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.
Seems to be already in 2.95, so every kernel compiler http://gcc.gnu.org/onlinedocs/gcc-2.95.3/gcc_4.html#SEC90 > > > { \ > > 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? Yes will send a followon patch. -Andi -- a...@linux.intel.com -- Speaking for myself only. -- 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/