|
@@ -29,8 +29,9 @@ size_t __kernel_cpumask_size;
|
|
|
|
|
|
|
|
|
about the size of the cpumask_t in the kernel. */
|
|
|
-int
|
|
|
-__determine_cpumask_size (pid_t tid)
|
|
|
+extern int __determine_cpumask_size (pid_t tid);
|
|
|
+libpthread_hidden_proto(__determine_cpumask_size)
|
|
|
+int __determine_cpumask_size (pid_t tid)
|
|
|
{
|
|
|
INTERNAL_SYSCALL_DECL (err);
|
|
|
int res;
|
|
@@ -50,10 +51,10 @@ __determine_cpumask_size (pid_t tid)
|
|
|
|
|
|
return 0;
|
|
|
}
|
|
|
-
|
|
|
+libpthread_hidden_def(__determine_cpumask_size)
|
|
|
|
|
|
int
|
|
|
-__pthread_setaffinity_new (pthread_t th, size_t cpusetsize,
|
|
|
+pthread_setaffinity_np (pthread_t th, size_t cpusetsize,
|
|
|
const cpu_set_t *cpuset)
|
|
|
{
|
|
|
const struct pthread *pd = (const struct pthread *) th;
|
|
@@ -83,4 +84,3 @@ __pthread_setaffinity_new (pthread_t th, size_t cpusetsize,
|
|
|
? INTERNAL_SYSCALL_ERRNO (res, err)
|
|
|
: 0);
|
|
|
}
|
|
|
-weak_alias(__pthread_setaffinity_new, pthread_setaffinity_np)
|