]> www.pilppa.org Git - linux-2.6-omap-h63xx.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)
commit73c4efd2c88a41c8a4810904266a34423b5584e5
tree994c975a1e2a0a4a57d041a6c854dcc22ccfb9f3
parentc7af77b584b02d3e321b00203a618a9c93782121
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