mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
[NETROM]: Eleminate HZ from NET/ROM kernel interfaces
Convert all NET/ROM sysctl time values from jiffies to ms as units. Signed-off-by: Ralf Baechle <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
e1fdb5b396
commit
4d8937d0b1
2 changed files with 14 additions and 9 deletions
|
|
@ -425,11 +425,16 @@ static int nr_create(struct socket *sock, int protocol)
|
|||
|
||||
nr_init_timers(sk);
|
||||
|
||||
nr->t1 = sysctl_netrom_transport_timeout;
|
||||
nr->t2 = sysctl_netrom_transport_acknowledge_delay;
|
||||
nr->n2 = sysctl_netrom_transport_maximum_tries;
|
||||
nr->t4 = sysctl_netrom_transport_busy_delay;
|
||||
nr->idle = sysctl_netrom_transport_no_activity_timeout;
|
||||
nr->t1 =
|
||||
msecs_to_jiffies(sysctl_netrom_transport_timeout);
|
||||
nr->t2 =
|
||||
msecs_to_jiffies(sysctl_netrom_transport_acknowledge_delay);
|
||||
nr->n2 =
|
||||
msecs_to_jiffies(sysctl_netrom_transport_maximum_tries);
|
||||
nr->t4 =
|
||||
msecs_to_jiffies(sysctl_netrom_transport_busy_delay);
|
||||
nr->idle =
|
||||
msecs_to_jiffies(sysctl_netrom_transport_no_activity_timeout);
|
||||
nr->window = sysctl_netrom_transport_requested_window_size;
|
||||
|
||||
nr->bpqext = 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue