summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/sched_setaffinity.c
AgeCommit message (Collapse)Author
2018-08-16sched_setaffinity: use the same style with glibc'sGuo Ren
Call getpid() in INTERNAL_SYSCALL will break the argument regs, because gcc couldn't save destoryed regs for system call asm. Ref to glibc, we could just remove all the check code. Signed-off-by: Guo Ren <ren_guo@c-sky.com>
2016-11-27fixup gcc warningsWaldemar Brodkorb
Remove following warning from common code: warning: ISO C90 forbids mixed declarations and code
2012-11-18Replace FSF snail mail address with URLsMike Frysinger
This matches a similar change made to glibc. No functional changes here. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-06-15sched_setaffinity.c: make use of the syscallPeter S. Mazinger
Fix arg type (const missing). Reorganize a bit. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-02-24unify stub logicMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-09-18trim Experimentally off and uncommented hiddenBernhard Reutner-Fischer
sed -i -e '/Experimentally off - /d' $(grep -rl "Experimentally off - " *) sed -i -e '/^\/\*[[:space:]]*libc_hidden_proto(/d' $(grep -rl "libc_hidden_proto" *) should be a nop Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-07-08drop missing {INLINE,INTERNAL}_SYSCALL fallback logicMike Frysinger
Ports missing INLINE_SYSCALL() support need to get fixed, so drop the cruft keeping them alive since it no longer works with the unification. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2008-11-20next portion of libc_hidden_proto removalDenis Vlasenko
2008-10-28- trim superfluous ';'. No objcode changesBernhard Reutner-Fischer
2008-09-30- add missing const qualifier for !__NR_sched_setaffinity && HAVE_STUBSBernhard Reutner-Fischer
2008-09-24- only compile them if the respective syscalls are availableBernhard Reutner-Fischer
2008-08-27- remove a couple of duplicate includesBernhard Reutner-Fischer
2008-07-23- fix inline keywordBernhard Reutner-Fischer
2007-02-12Impl. linux syscalls sched_getaffinity/sched_setaffinity butJoakim Tjernlund
protect its use by #ifdef INTERNAL_SYSCALL since not all arch's has INTERNAL_SYSCALL. All arch's not having INTERNAL_SYSCALL in libc/sysdeps/linux/<arch>/bits/syscalls.h should get an update from glibc.