[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)
commit79eec3d3d928e8ea20160c941236f11ecca99071
tree56cab938afb391fb91054b71de45e56676ccbae0
parent317ed68c01cd936a3651c2eb63c47ef2a1ff54e5
[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