Re: [PATCH] x86_32: remove the useless NR_syscalls macro

From: Ingo Molnar
Date: Fri Jan 18 2008 - 03:13:27 EST



* Dmitri Vorobiev <dmitri.vorobiev@xxxxxxxxx> wrote:

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

thanks, applied.

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