]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] sysctl: C99 convert arch/mips/lasat/sysctl.c and remove ABI breakage
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 14 Feb 2007 08:33:44 +0000 (00:33 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 14 Feb 2007 16:09:57 +0000 (08:09 -0800)
commitf41bc9f931009b6379c824a720e09491c8448428
treedb2ceddb37742dd8ec9b05211d9b994f9531f33f
parent769744f749f450b5d27a76b775b928c089ad9d29
[PATCH] sysctl: C99 convert arch/mips/lasat/sysctl.c and remove ABI breakage

While C99 converting the ctl_table initializers I realized that the binary
sysctl numbers were in conflict with the binary values under CTL_KERN.
Including CTL_KERN KERN_VERSION as used by glibc.  So I just removed the
sysctl binary interface for these values, as it was unsupportable.

Luckily these sysctl were inserted at the end of the sysctl list so this bug
was not visible to userspace.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/mips/lasat/sysctl.c