summaryrefslogtreecommitdiffstats
path: root/net/packet/internal.h
diff options
context:
space:
mode:
authorFrank Li <Frank.Li@freescale.com>2012-11-06 21:14:49 +0100
committerDavid S. Miller <davem@davemloft.net>2012-11-08 00:52:12 +0100
commit7da716aee2532399e213a14f656d304098f67a11 (patch)
tree7d294e94fc51a1b7e7ab1d9f7822d50e74670f6d /net/packet/internal.h
parentnet: fec: default select FEC_PTP at mx6 platform (diff)
downloadlinux-7da716aee2532399e213a14f656d304098f67a11.tar.xz
linux-7da716aee2532399e213a14f656d304098f67a11.zip
net: fec: reduce spin lock time in fec_ptp_adjfreq
move below calculate out of spin lock section diff = fep->cc.mult; diff *= ppb; diff = div_u64(diff, 1000000000ULL); diff is local variable and not neccesary in spin lock Signed-off-by: Frank Li <Frank.Li@freescale.com> Acked-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/packet/internal.h')
0 files changed, 0 insertions, 0 deletions