[IPV4]: Convert do_gettimeofday() to getnstimeofday().
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Mon, 21 Apr 2008 09:34:08 +0000 (02:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Apr 2008 09:34:08 +0000 (02:34 -0700)
What do_gettimeofday() does is to call getnstimeofday() and
to convert the result from timespec{} to timeval{}.
After that, these callers convert the result again to msec.
Use getnstimeofday() and convert the units at once.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/icmp.c
net/ipv4/ip_options.c

diff --cc net/ipv4/icmp.c
Simple merge
Simple merge