Re: Add private syscalls to support NPTL

Andreas Schwab
2009-08-17T22:11:38Z

Maxim Kuvyrkov <maxim@codesourcery.com> writes:

> diff --git a/arch/m68k/include/asm/unistd.h b/arch/m68k/include/asm/unistd.h
> index aa29a86..619677c 100644
> --- a/arch/m68k/include/asm/unistd.h
> +++ b/arch/m68k/include/asm/unistd.h
> @@ -335,9 +335,16 @@
> #define __NR_preadv 329
> #define __NR_pwritev 330
>
> +/* Private syscalls. */
> +#define __M68K_NR_read_tp 0xffffffff
> +#define __M68K_NR_write_tp 0xfffffffe
> +#define __M68K_NR_atomic_cmpxchg_32 0xfffffffd
> +#define __M68K_NR_atomic_barrier 0xfffffffc

I don't see the need for these weird syscall numbers.

Andreas.

--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."