Re: Add private syscalls to support NPTL

Geert Uytterhoeven
2009-12-11T14:01:55Z

On Mon, Dec 7, 2009 at 09:38, Maxim Kuvyrkov <maxim@codesourcery.com> wrote:
> Maxim Kuvyrkov wrote:
>> The attached patches add kernel support for userspace NPTL bits for m68k.
>
> Here is yet another final version of the patch.  As Andreas pointed out in
> another thread, the indentation is off in couple of places, so I fixed that
> by formatting the code with scripts/Lindent.  I also forwarded the
> reformatted version of the uClinux patch to uclinux-dev@.

> diff --git a/arch/m68k/include/asm/unistd.h b/arch/m68k/include/asm/unistd.h
> index 48b87f5..d076bea 100644
> --- a/arch/m68k/include/asm/unistd.h
> +++ b/arch/m68k/include/asm/unistd.h
> @@ -336,10 +336,14 @@
>  #define __NR_pwritev           330
>  #define __NR_rt_tgsigqueueinfo 331
>  #define __NR_perf_event_open   332
> +#define __NR_read_tp           333
> +#define __NR_write_tp          334
> +#define __NR_atomic_cmpxchg_32 335
> +#define __NR_atomic_barrier    336

BTW, other architectures seem to call these __NR_[gs]et_thread_area
instead of __NR_{read,write}_tp?
Shouldn't we follow for consistency?

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org