[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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user