]> err.no Git - linux-2.6/commitdiff
[AVR32] Ignore a few irrelevant syscalls
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Sat, 22 Sep 2007 21:31:39 +0000 (23:31 +0200)
committerHaavard Skinnemoen <hskinnemoen@atmel.com>
Thu, 11 Oct 2007 11:32:55 +0000 (13:32 +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 3b4e35b55c822299072a04496ef11c70ea82fa13..de09009593f84eb12d3e8fa38c0450df96777b7d 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