diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2005-12-23 10:04:39 +0300 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-12-23 10:10:03 +0300 |
commit | 597d1f0622d21ffe54aceef8da9682e776f51cc2 (patch) | |
tree | 975fa6b5f3a9c27a5ed8c24fc3f86ae2da41cee0 /arch/sparc64/kernel/sys_sunos32.c | |
parent | 0b57ee9e55373a27e45549e82b0c43621480a71b (diff) | |
download | linux-597d1f0622d21ffe54aceef8da9682e776f51cc2.tar.xz |
[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>
Diffstat (limited to 'arch/sparc64/kernel/sys_sunos32.c')
-rw-r--r-- | arch/sparc64/kernel/sys_sunos32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/sys_sunos32.c b/arch/sparc64/kernel/sys_sunos32.c index d0592ed54ea5..bfa4aa68312d 100644 --- a/arch/sparc64/kernel/sys_sunos32.c +++ b/arch/sparc64/kernel/sys_sunos32.c @@ -854,7 +854,7 @@ asmlinkage s32 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; |