aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>2008-01-12 06:25:00 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:01:51 -0500
commit6db105db95197c0fe93f8b3fb338eb6cf17440b7 (patch)
treeb5f42361e283d80a4a0e106356dd90d11323769f
parent56e252c7484c3ebc058f3c22d4a75386b079c49c (diff)
[PKTGEN]: uninline getCurUs
net/core/pktgen.c: pktgen_stop_device | -50 pktgen_run | -105 pktgen_if_show | -37 pktgen_thread_worker | -702 4 functions changed, 894 bytes removed, diff: -894 net/core/pktgen.c: getCurUs | +36 1 function changed, 36 bytes added, diff: +36 net/core/pktgen.o: 5 functions changed, 36 bytes added, 894 bytes removed, diff: -858 Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/core/pktgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/pktgen.c b/net/core/pktgen.c
index ebfb1268ac3c..d18fdb102360 100644
--- a/net/core/pktgen.c
+++ b/net/core/pktgen.c
@@ -405,7 +405,7 @@ static inline __u64 tv_to_us(const struct timeval *tv)
405 return us; 405 return us;
406} 406}
407 407
408static inline __u64 getCurUs(void) 408static __u64 getCurUs(void)
409{ 409{
410 struct timeval tv; 410 struct timeval tv;
411 do_gettimeofday(&tv); 411 do_gettimeofday(&tv);