From 19dd090a0f68765db87990ef8eda9bf77bb29581 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Sat, 4 Jun 2011 21:21:41 +0200 Subject: libc: flesh out linux scheduler functions Most stuff was taken from the eglibc. Signed-off-by: Henning Heinold Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/x86_64/Makefile.arch | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libc/sysdeps/linux/x86_64/Makefile.arch') diff --git a/libc/sysdeps/linux/x86_64/Makefile.arch b/libc/sysdeps/linux/x86_64/Makefile.arch index de7ce7285..0d14650ff 100644 --- a/libc/sysdeps/linux/x86_64/Makefile.arch +++ b/libc/sysdeps/linux/x86_64/Makefile.arch @@ -17,3 +17,10 @@ SSRC := \ ifneq ($(UCLIBC_HAS_THREADS_NATIVE),y) SSRC += vfork.S clone.S endif + +ifeq ($(UCLIBC_LINUX_SPECIFIC),y) +ARCH_OBJ_FILTEROUT = sched_getcpu.c +ifeq ($(UCLIBC_HAS_TLS),y) +SSRC += sched_getcpu.S +endif +endif -- cgit v1.2.3