Blame numactl-1.0.2-alpha-syscall.patch
|
Neil Horman |
f4c2a3 |
diff -up numactl-1.0.2/syscall.c.orig numactl-1.0.2/syscall.c
|
|
Neil Horman |
f4c2a3 |
--- numactl-1.0.2/syscall.c.orig 2008-03-14 07:28:58.000000000 -0400
|
|
Neil Horman |
f4c2a3 |
+++ numactl-1.0.2/syscall.c 2008-03-14 07:29:31.000000000 -0400
|
|
Neil Horman |
f4c2a3 |
@@ -62,6 +62,13 @@
|
|
Neil Horman |
f4c2a3 |
#define __NR_set_mempolicy 261
|
|
Neil Horman |
f4c2a3 |
#define __NR_migrate_pages 258
|
|
Neil Horman |
f4c2a3 |
|
|
Neil Horman |
f4c2a3 |
+#elif defined(__alpha__)
|
|
Neil Horman |
f4c2a3 |
+
|
|
Neil Horman |
f4c2a3 |
+#define __NR_mbind 429
|
|
Neil Horman |
f4c2a3 |
+#define __NR_get_mempolicy 430
|
|
Neil Horman |
f4c2a3 |
+#define __NR_set_mempolicy 431
|
|
Neil Horman |
f4c2a3 |
+#define __NR_migrate_pages 449
|
|
Neil Horman |
f4c2a3 |
+
|
|
Neil Horman |
f4c2a3 |
#elif !defined(DEPS_RUN)
|
|
Neil Horman |
f4c2a3 |
#error "Add syscalls for your architecture or update kernel headers"
|
|
Neil Horman |
f4c2a3 |
#endif
|