Re: [PATCH] x86-64: re-use kernel/syscall_table_32.S in ia32/ia32entry.S
From: Arnd Bergmann
Date: Thu Apr 28 2011 - 08:36:30 EST
On Wednesday 27 April 2011, H. Peter Anvin wrote:
> On 04/27/2011 09:40 AM, Arnd Bergmann wrote:
> >>
> >> Yes, that's certainly an alternative.
> >
> > How about following the same style as asm-generic/unistd.h? It's
> > originally derived from the x86 version, but has added support for
> > compat syscalls for the tile architecture.
> >
>
> 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.
Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/