interesting....The kernel headers for the distro are missing that such section but the latest download of kernel source 3.0.4 does have that in the file and didnt even think to looking there...
 
Thanks for the information! 
 
and my guess with numactl would be to do the following. <or hould we not even mess with numactl on arm?>
 
#elif defined(__ARM_EABI__)
#define __NR_SYSCALL_BASE       0x900000
#define __NR_sched_setaffinity          (__NR_SYSCALL_BASE+241)
#define __NR_sched_getaffinity          (__NR_SYSCALL_BASE+242)
#define __NR_mbind                      (__NR_SYSCALL_BASE+319)
#define __NR_get_mempolicy              (__NR_SYSCALL_BASE+320)
#define __NR_set_mempolicy              (__NR_SYSCALL_BASE+321)
#define __NR_move_pages                 (__NR_SYSCALL_BASE+344)
#define __IGNORE_migrate_pages          1
or since  it already loads the include asm/unistd.h and most of above as already in the include.
 
#elif defined(__ARM_EABI__)
#define __IGNORE_migrate_pages          1
 
also im not sure this will bust the numactl compile but ill give it a try :)
-------- Original Message --------
Subject: Re: Arm System Calls Numactl
From: Loïc Minier <loic.minier@linaro.org>
Date: Sun, October 23, 2011 3:18 pm
To: linuxarmcross <cross-distro@lists.linaro.org>

On Sun, Oct 23, 2011, webwillow@thewebwillow.com wrote:
> Does anyone know if __NR_migrate_pages for arm exists and just isnt in the
> "unistd.h" file?

arch/arm/include/asm/unistd.h says:

/*
* Unimplemented (or alternatively implemented) syscalls
*/
#define __IGNORE_fadvise64_64
#define __IGNORE_migrate_pages

and the git log says:
commit d80ade7b323152672bf66e74ec11c324332f6d1e
Author: Russell King <rmk+kernel@arm.linux.org.uk>
Date: Sun Sep 27 17:40:03 2009 +0100

ARM: Fix warning: #warning syscall migrate_pages not implemented

We're not implementing this syscall (we're not NUMA) so we might as
well silence this warning.

so I'd guess it isn't implemented on ARM and wont be in the near term.

--
Loïc Minier

_______________________________________________
cross-distro mailing list
cross-distro@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/cross-distro