Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 206137
b: refs/heads/master
c: af5ab27
h: refs/heads/master
i:
  206135: 7010e7c
v: v3
  • Loading branch information
Arjan van de Ven authored and Thomas Gleixner committed Aug 2, 2010
1 parent a430062 commit 0b4c803
Show file tree
Hide file tree
Showing 2 changed files with 1 addition 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: 2b08de0073a5697cf84d6f448d6dbc6cf02fc6b5
refs/heads/master: af5ab277ded04bd9bc6b048c5a2f0e7d70ef0867
5 changes: 0 additions & 5 deletions trunk/kernel/time/tick-sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,6 @@ void tick_setup_sched_timer(void)
{
struct tick_sched *ts = &__get_cpu_var(tick_cpu_sched);
ktime_t now = ktime_get();
u64 offset;

/*
* Emulate tick processing via per-CPU hrtimers:
Expand All @@ -790,10 +789,6 @@ void tick_setup_sched_timer(void)

/* Get the next period (per cpu) */
hrtimer_set_expires(&ts->sched_timer, tick_init_jiffy_update());
offset = ktime_to_ns(tick_period) >> 1;
do_div(offset, num_possible_cpus());
offset *= smp_processor_id();
hrtimer_add_expires_ns(&ts->sched_timer, offset);

for (;;) {
hrtimer_forward(&ts->sched_timer, now, tick_period);
Expand Down

0 comments on commit 0b4c803

Please sign in to comment.