]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] sysctl: sn: remove sysctl ABI BREAKAGE
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 14 Feb 2007 08:33:40 +0000 (00:33 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 14 Feb 2007 16:09:56 +0000 (08:09 -0800)
commit6195cc431e212913f1efd5cce555f73c4a0f0d1b
tree56cab938afb391fb91054b71de45e56676ccbae0
parent0161d4c3c8daf51916289bded17ca1276b1378c3
[PATCH] sysctl: sn: remove sysctl ABI BREAKAGE

By not using the enumeration in sysctl.h (or even understanding it) the SN
platform placed their arch specific xpc directory on top of CTL_KERN and only
because they didn't have 4 entries in their xpc directory got lucky and didn't
break glibc.

This is totally irresponsible.  So this patch entirely removes sys_sysctl
support from their sysctl code.  Hopefully they don't have ascii name
conflicts as well.

And now that they have no ABI numbers add them to the end instead of the
sysctl list instead of the head so nothing else will be overridden.

Cc: Tony Luck <tony.luck@intel.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/ia64/sn/kernel/xpc_main.c