about summary refs log tree commit diff
path: root/nptl/pthread_attr_setaffinity.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2015-01-08 10:49:40 -0800
committerRoland McGrath <roland@hack.frob.com>2015-01-08 10:49:40 -0800
commit59ff172f8064757e2302f9b4fb7583ec2841d591 (patch)
tree18b57d9512d0b8d347e363dae4664063c0240e9f /nptl/pthread_attr_setaffinity.c
parentb92058573b4b26ad0700c73d0ba33a796556e7fa (diff)
downloadglibc-59ff172f8064757e2302f9b4fb7583ec2841d591.tar.gz
glibc-59ff172f8064757e2302f9b4fb7583ec2841d591.tar.xz
glibc-59ff172f8064757e2302f9b4fb7583ec2841d591.zip
NPTL: Refactor cpu_set_t validation to be sysdeps-controlled
This removes Linuxisms related to cpu_set_t validation from the
generic NPTL code and puts them into a new sysdeps header file.
Diffstat (limited to 'nptl/pthread_attr_setaffinity.c')
-rw-r--r--nptl/pthread_attr_setaffinity.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/nptl/pthread_attr_setaffinity.c b/nptl/pthread_attr_setaffinity.c
index a249b419f1..7a127b80f7 100644
--- a/nptl/pthread_attr_setaffinity.c
+++ b/nptl/pthread_attr_setaffinity.c
@@ -23,8 +23,7 @@
 #include <string.h>
 #include <pthreadP.h>
 #include <shlib-compat.h>
-
-
+#include <check-cpuset.h>
 
 
 int