lkml.org 
[lkml]   [2011]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[PATCH v2 17/20] parisc: switch do_timer() to xtime_update()
    From
    Date
    xtime_update() takes the xtime_lock itself.

    Cc: Kyle McMartin <kyle@mcmartin.ca>
    Cc: Helge Deller <deller@gmx.de>
    Cc: James E.J. Bottomley <jejb@parisc-linux.org>
    Signed-off-by: Torben Hohn <torbenh@gmx.de>
    ---
    arch/parisc/kernel/time.c | 4 +---
    1 files changed, 1 insertions(+), 3 deletions(-)

    diff --git a/arch/parisc/kernel/time.c b/arch/parisc/kernel/time.c
    index 05511cc..72ec318 100644
    --- a/arch/parisc/kernel/time.c
    +++ b/arch/parisc/kernel/time.c
    @@ -163,9 +163,7 @@ irqreturn_t __irq_entry timer_interrupt(int irq, void *dev_id)
    }

    if (cpu == 0) {
    - write_seqlock(&xtime_lock);
    - do_timer(ticks_elapsed);
    - write_sequnlock(&xtime_lock);
    + xtime_update(ticks_elapsed);
    }

    return IRQ_HANDLED;


    \
     
     \ /
      Last update: 2011-01-27 16:05    [W:4.486 / U:0.380 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site