[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20121107.185304.1774660119595460505.davem@davemloft.net>
Date: Wed, 07 Nov 2012 18:53:04 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: Frank.Li@...escale.com
Cc: lznuaa@...il.com, richardcochran@...il.com, shawn.guo@...aro.org,
linux-arm-kernel@...ts.infradead.or, netdev@...r.kernel.org,
bhutchings@...arflare.com
Subject: Re: [PATCH 2/2] net: fec: reduce spin lock time in fec_ptp_adjfreq
From: Frank Li <Frank.Li@...escale.com>
Date: Wed, 7 Nov 2012 14:14:49 +0800
> 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@...escale.com>
Also applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists