Messages in this thread | | | Date | Thu, 29 Nov 2012 17:49:20 -0800 | From | Greg Kroah-Hartman <> | Subject | Re: [PATCH 055/270] ARM: OMAP: counter: add locking to read_persistent_clock |
| |
On Tue, Nov 27, 2012 at 03:05:20PM +0000, Ben Hutchings wrote: > On Mon, 2012-11-26 at 14:55 -0200, Herton Ronaldo Krzesinski wrote: > > 3.5.7u1 -stable review patch. If anyone has any objections, please let me know. > > > > ------------------ > > > > From: Colin Cross <ccross@android.com> > > > > commit 9d7d6e363b06934221b81a859d509844c97380df upstream. > > > > read_persistent_clock uses a global variable, use a spinlock to > > ensure non-atomic updates to the variable don't overlap and cause > > time to move backwards. > > > > Signed-off-by: Colin Cross <ccross@android.com> > > Signed-off-by: R Sricharan <r.sricharan@ti.com> > > Signed-off-by: Tony Lindgren <tony@atomide.com> > > Signed-off-by: Herton Ronaldo Krzesinski <herton.krzesinski@canonical.com> > [...] > > This is also missing from 3.4. I'm attaching the adjusted version for > 3.2, which looks like it will work for 3.4.
Thanks for the patch, now applied.
greg k-h
| |