Thread (3 messages) flat view 3 messages, 3 authors, 2012-11-07

Re: [PATCH 2/2] net: fec: reduce spin lock time in fec_ptp_adjfreq

From: Richard Cochran <richardcochran@gmail.com>
Date: 2012-11-07 08:33:17

On Wed, Nov 07, 2012 at 02:14:49PM +0800, Frank Li wrote:
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 <redacted>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help