Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 339097
b: refs/heads/master
c: 1017769
h: refs/heads/master
i:
  339095: 79ed27e
v: v3
  • Loading branch information
Frederic Weisbecker committed Nov 19, 2012
1 parent 04b1ccd commit 1d56b29
Show file tree
Hide file tree
Showing 2 changed files with 1 addition 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: e3942ba04052364d3c6454103362cafd87456010
refs/heads/master: 1017769bd0073f0a73e066377cd79a10cf0a33ab
6 changes: 0 additions & 6 deletions trunk/kernel/sched/cputime.c
Original file line number Diff line number Diff line change
Expand Up @@ -467,16 +467,10 @@ void vtime_task_switch(struct task_struct *prev)
#ifndef __ARCH_HAS_VTIME_ACCOUNT
void vtime_account(struct task_struct *tsk)
{
unsigned long flags;

local_irq_save(flags);

if (in_interrupt() || !is_idle_task(tsk))
vtime_account_system(tsk);
else
vtime_account_idle(tsk);

local_irq_restore(flags);
}
EXPORT_SYMBOL_GPL(vtime_account);
#endif /* __ARCH_HAS_VTIME_ACCOUNT */
Expand Down

0 comments on commit 1d56b29

Please sign in to comment.