[PATCH 1/4] add NR_syscalls define for x86

From: Jason Baron
Date: Mon Aug 24 2009 - 17:44:22 EST


Add a NR_syscalls #define for x86. This is used in the syscall events tracing
code. Todo: make it dynamic like x86_64

Signed-off-by: Jason Baron <jbaron@xxxxxxxxxx>


---
arch/x86/include/asm/unistd_32.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/x86/include/asm/unistd_32.h b/arch/x86/include/asm/unistd_32.h
index 732a307..8deaada 100644
--- a/arch/x86/include/asm/unistd_32.h
+++ b/arch/x86/include/asm/unistd_32.h
@@ -345,6 +345,8 @@

#ifdef __KERNEL__

+#define NR_syscalls 337
+
#define __ARCH_WANT_IPC_PARSE_VERSION
#define __ARCH_WANT_OLD_READDIR
#define __ARCH_WANT_OLD_STAT
--
1.6.2.5

--
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/