lkml.org 
[lkml]   [2012]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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


    \
     
     \ /
      Last update: 2012-11-30 03:21    [W:3.524 / U:1.296 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site