Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 234619
b: refs/heads/master
c: 22b7fcd
h: refs/heads/master
i:
  234617: 1da76d2
  234615: 292e2ce
v: v3
  • Loading branch information
Torben Hohn authored and Thomas Gleixner committed Feb 9, 2011
1 parent 9744043 commit 9bdde77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0606f422b453f76c31ab2b1bd52943ff06a2dcf2
refs/heads/master: 22b7fcdae562b6792b3f5517e89fd7e0337180ae
6 changes: 1 addition & 5 deletions trunk/arch/mn10300/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,6 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id)
unsigned tsc, elapse;
irqreturn_t ret;

write_seqlock(&xtime_lock);

while (tsc = get_cycles(),
elapse = tsc - mn10300_last_tsc, /* time elapsed since last
* tick */
Expand All @@ -114,11 +112,9 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id)
mn10300_last_tsc += MN10300_TSC_PER_HZ;

/* advance the kernel's time tracking system */
do_timer(1);
xtime_update(1);
}

write_sequnlock(&xtime_lock);

ret = local_timer_interrupt();
#ifdef CONFIG_SMP
send_IPI_allbutself(LOCAL_TIMER_IPI);
Expand Down

0 comments on commit 9bdde77

Please sign in to comment.