Re: NUMA Questions

From: Andi Kleen
Date: Mon May 24 2004 - 14:34:51 EST


Scott Robert Ladd <coyote@xxxxxxxxxxxxxxx> writes:

[hmm, didn't I answer this already?]

>
> Can anyone shed light on this?

The system calls were still missing on x86-64 in 2.6.7rc1.

Apply this small patch.

-Andi

--- linux-2.6.7rc1/include/asm-x86_64/unistd.h 2004-05-23 15:41:56.000000000 +0200
+++ linux-2.6.7rc1-amd64/include/asm-x86_64/unistd.h 2004-05-24 01:31:42.000000000 +0200
@@ -535,11 +535,11 @@
#define __NR_vserver 236
__SYSCALL(__NR_vserver, sys_ni_syscall)
#define __NR_mbind 237
-__SYSCALL(__NR_mbind, sys_ni_syscall)
+__SYSCALL(__NR_mbind, sys_mbind)
#define __NR_set_mempolicy 238
-__SYSCALL(__NR_set_mempolicy, sys_ni_syscall)
+__SYSCALL(__NR_set_mempolicy, sys_set_mempolicy)
#define __NR_get_mempolicy 239
-__SYSCALL(__NR_get_mempolicy, sys_ni_syscall)
+__SYSCALL(__NR_get_mempolicy, sys_get_mempolicy)
#define __NR_mq_open 240
__SYSCALL(__NR_mq_open, sys_mq_open)
#define __NR_mq_unlink 241

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/