aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86
diff options
context:
space:
mode:
authorDmitri Vorobiev <dmitri.vorobiev@gmail.com>2008-01-30 07:33:16 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:33:16 -0500
commit770181d99098bc141031fe0a4b1d6221258c1182 (patch)
treef68b7d7814ecd6f91d63673f53e3798eeabbe050 /include/asm-x86
parente34cda04d4ec0114185459eb101a2245563bbeba (diff)
x86_32: remove the useless NR_syscalls macro
This is against current x86.git. The size of the system call table for 32-bit x86 kernels is obtained by compile-time calculation of the sys_call_table array, not from the value, which the NR_syscalls macro expands to. This trivial patch removes the fossil macro. Manually tested by grepping the x86 files for the "NR_syscalls" string. No relevant use cases found. Build-tested using allyesconfig, allnoconfig and a couple of randconfig instances. All builds successfully finished. Runtime test performed using a stripped-down Debian-ish config. The system booted successfully. Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86')
-rw-r--r--include/asm-x86/unistd_32.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/asm-x86/unistd_32.h b/include/asm-x86/unistd_32.h
index 9b15545eb9b5..8d8f9b5adbb9 100644
--- a/include/asm-x86/unistd_32.h
+++ b/include/asm-x86/unistd_32.h
@@ -333,8 +333,6 @@
333 333
334#ifdef __KERNEL__ 334#ifdef __KERNEL__
335 335
336#define NR_syscalls 325
337
338#define __ARCH_WANT_IPC_PARSE_VERSION 336#define __ARCH_WANT_IPC_PARSE_VERSION
339#define __ARCH_WANT_OLD_READDIR 337#define __ARCH_WANT_OLD_READDIR
340#define __ARCH_WANT_OLD_STAT 338#define __ARCH_WANT_OLD_STAT