[AVR32] Ignore a few irrelevant syscalls
Haavard Skinnemoen [Sat, 22 Sep 2007 21:31:39 +0000 (23:31 +0200)]
Ignore a few syscalls that are irrelevant because they're either old,
depends on NUMA or depends on SMP.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>

include/asm-avr32/unistd.h

index 3b4e35b..de09009 100644 (file)
 #ifdef __KERNEL__
 #define NR_syscalls            282
 
+/* Old stuff */
+#define __IGNORE_uselib
+#define __IGNORE_mmap
+
+/* NUMA stuff */
+#define __IGNORE_mbind
+#define __IGNORE_get_mempolicy
+#define __IGNORE_set_mempolicy
+#define __IGNORE_migrate_pages
+#define __IGNORE_move_pages
+
+/* SMP stuff */
+#define __IGNORE_getcpu
 
 #define __ARCH_WANT_IPC_PARSE_VERSION
 #define __ARCH_WANT_STAT64