Repository navigation
Commit 52719f9
committed
Fix build on the GNU Hurd.
SYS_* system call numbers are not defined on the Hurd system.
Three of them, SYS_mbind, SYS_set_mempolicy, and SYS_gettid,
are used in "common_linux.h". The first two are about setting NUMA
(Non‐Uniform Memory Access) policy. NUMA is not supported by the Hurd
for now. The third one refers to the Linux specific model of threads.
Therefore it is safe to simply disable these syscalls on the GNU Hurd.1 parent 277ef78 commit 52719f9
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
| 74 | + | |
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
| |||
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
85 | | - | |
| 86 | + | |
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
| |||
0 commit comments