Lines 23-28
Link Here
|
23 |
#include <nscd.h> |
23 |
#include <nscd.h> |
24 |
#include <sysdep.h> |
24 |
#include <sysdep.h> |
25 |
|
25 |
|
|
|
26 |
#ifndef __NR_set_tid_address |
27 |
/* XXX For the time being... Once we can rely on the kernel headers |
28 |
having the definition remove these lines. */ |
29 |
#if defined __s390__ |
30 |
# define __NR_set_tid_address 252 |
31 |
#elif defined __ia64__ |
32 |
# define __NR_set_tid_address 1233 |
33 |
#elif defined __i386__ |
34 |
# define __NR_set_tid_address 258 |
35 |
#elif defined __x86_64__ |
36 |
# define __NR_set_tid_address 218 |
37 |
#elif defined __powerpc__ |
38 |
# define __NR_set_tid_address 232 |
39 |
#elif defined __sparc__ |
40 |
# define __NR_set_tid_address 166 |
41 |
#else |
42 |
# error "define __NR_set_tid_address" |
43 |
#endif |
44 |
#endif |
45 |
|
26 |
|
46 |
|
27 |
void |
47 |
void |
28 |
setup_thread (struct database_dyn *db) |
48 |
setup_thread (struct database_dyn *db) |