]> git.baikalelectronics.ru Git - kernel.git/commit
sched: sysctl, proc_dointvec_minmax() expects int values for
authorEric Dumazet <dada1@cosmosbay.com>
Tue, 18 Dec 2007 14:21:13 +0000 (15:21 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 18 Dec 2007 14:21:13 +0000 (15:21 +0100)
commit382ece04f689574177020f0c0d6b404496d12b90
tree994c975a1e2a0a4a57d041a6c854dcc22ccfb9f3
parent408f25f5cd84891a61be42f6af0d0053fa2a1751
sched: sysctl, proc_dointvec_minmax() expects int values for

min_sched_granularity_ns, max_sched_granularity_ns,
min_wakeup_granularity_ns and max_wakeup_granularity_ns are declared
"unsigned long".

This is incorrect since proc_dointvec_minmax() expects plain "int" guard
values.

This bug only triggers on big endian 64 bit arches.

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sysctl.c