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