Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 360758
b: refs/heads/master
c: af7bdba
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Gleixner committed Feb 21, 2013
1 parent 1dc9785 commit 7e6bfe4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 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: facd8b80c67a3cf64a467c4a2ac5fb31f2e6745b
refs/heads/master: af7bdbafe3812af406ce07631effd2b96aae2dba
7 changes: 1 addition & 6 deletions trunk/kernel/time/tick-sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -565,19 +565,14 @@ void tick_nohz_idle_enter(void)
*/
void tick_nohz_irq_exit(void)
{
unsigned long flags;
struct tick_sched *ts = &__get_cpu_var(tick_cpu_sched);

if (!ts->inidle)
return;

local_irq_save(flags);

/* Cancel the timer because CPU already waken up from the C-states */
/* Cancel the timer because CPU already waken up from the C-states*/
menu_hrtimer_cancel();
__tick_nohz_idle_enter(ts);

local_irq_restore(flags);
}

/**
Expand Down

0 comments on commit 7e6bfe4

Please sign in to comment.