Re: Add private syscalls to support NPTL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Dec 7, 2009 at 09:38, Maxim Kuvyrkov <maxim@xxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxx

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
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux