[SPARC]: Kill CHILD_MAX.

It's definition is wrong (-1 means "no limit" not 999),
only the Sparc SunOS/Solaris compat code uses it, so
let's just kill it off completely from limits.h and
all referencing code.

Noticed by Ulrich Drepper.

Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David S. Miller 2005-12-22 23:04:39 -08:00
parent 0b57ee9e55
commit 597d1f0622
3 changed files with 3 additions and 3 deletions

View file

@ -894,7 +894,7 @@ asmlinkage long sunos_sysconf (int name)
ret = ARG_MAX;
break;
case _SC_CHILD_MAX:
ret = CHILD_MAX;
ret = -1; /* no limit */
break;
case _SC_CLK_TCK:
ret = HZ;