commit | 7da716aee2532399e213a14f656d304098f67a11 | [log] [tgz] |
---|---|---|
author | Frank Li <Frank.Li@freescale.com> | Tue Nov 06 20:14:49 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 07 18:52:12 2012 -0500 |
tree | 7d294e94fc51a1b7e7ab1d9f7822d50e74670f6d | |
parent | 0f2f7a40f9ae91b9e837c3cd2cacd7f46c168eb1 [diff] |
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>