[PATCH] make use of sched_setaffinity if available

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Tue Dec 16 12:35:02 UTC 2008


On Tue, Dec 16, 2008 at 11:04:49AM +0100, Stefan Assmann wrote:
>Subject: make use of sched_setaffinity if available
>
>From: Stefan Assmann <sassmann at suse.de>
>
>The current implementation relies on the fact that INTERNAL_SYSCALL is defined
>for syscall sched_setaffinity. Otherwise the syscall will be treated as
>non-existant even if it is implemented. This patch adds a check whether the
>syscall is available if INTERNAL_SYSCALL is not defined. This was necessary to
>get sched_setaffinity working on ia64.

All arches should define INTERNAL_SYSCALL, could you please add this
for ia64 instead?



More information about the uClibc mailing list