
* Add numactl 2.0.16-2.0.18 * Create link-with-latomic-if-needed-v2.0.16.patch Add a link to libatomic, if needed, for numactl v2.0.16. * Add some missing patches to v2.0.16 * Create numactl-2.0.18-syscall-NR-ppc64.patch In short, we need numactl to set __NR_set_mempolicy_home_node on ppc64, if it's not already defined. * Apply a necessary patch for v2.0.18 on PPC64 * Add libatomic patch for v2.0.16
15 lines
406 B
Diff
15 lines
406 B
Diff
diff --git a/syscall.c b/syscall.c
|
|
index 63b3e53..5b354c4 100644
|
|
--- a/syscall.c
|
|
+++ b/syscall.c
|
|
@@ -141,7 +141,7 @@
|
|
|
|
#if !defined(__NR_set_mempolicy_home_node)
|
|
|
|
-#if defined(__x86_64__) || defined(__aarch64__)
|
|
+#if defined(__x86_64__) || defined(__aarch64__) || defined(__PPC64__)
|
|
#define __NR_set_mempolicy_home_node 450
|
|
#else
|
|
#error "Add syscalls for your architecture or update kernel headers"
|
|
|