Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 234585
b: refs/heads/master
c: 4ea1b72
h: refs/heads/master
i:
  234583: 9144fed
v: v3
  • Loading branch information
Torben Hohn authored and Thomas Gleixner committed Jan 31, 2011
1 parent 70a4335 commit c6f08d1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 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: bb1dfc1cf6c51ca42f7c05029a6f06df9092a0fc
refs/heads/master: 4ea1b72551d052a3993ef72ce06ecf5bdd125859
4 changes: 1 addition & 3 deletions trunk/arch/sparc/kernel/pcic.c
Original file line number Diff line number Diff line change
Expand Up @@ -700,10 +700,8 @@ static void pcic_clear_clock_irq(void)

static irqreturn_t pcic_timer_handler (int irq, void *h)
{
write_seqlock(&xtime_lock); /* Dummy, to show that we remember */
pcic_clear_clock_irq();
do_timer(1);
write_sequnlock(&xtime_lock);
xtime_update(1);
#ifndef CONFIG_SMP
update_process_times(user_mode(get_irq_regs()));
#endif
Expand Down
9 changes: 2 additions & 7 deletions trunk/arch/sparc/kernel/time_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ int update_persistent_clock(struct timespec now)

/*
* timer_interrupt() needs to keep up the real-time clock,
* as well as call the "do_timer()" routine every clocktick
* as well as call the "xtime_update()" routine every clocktick
*/

#define TICK_SIZE (tick_nsec / 1000)
Expand All @@ -96,14 +96,9 @@ static irqreturn_t timer_interrupt(int dummy, void *dev_id)
profile_tick(CPU_PROFILING);
#endif

/* Protect counter clear so that do_gettimeoffset works */
write_seqlock(&xtime_lock);

clear_clock_irq();

do_timer(1);

write_sequnlock(&xtime_lock);
xtime_update(1);

#ifndef CONFIG_SMP
update_process_times(user_mode(get_irq_regs()));
Expand Down

0 comments on commit c6f08d1

Please sign in to comment.