Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 234561
b: refs/heads/master
c: 7e94987
h: refs/heads/master
i:
  234559: 79e9222
v: v3
  • Loading branch information
Heiko Carstens authored and Ingo Molnar committed Feb 25, 2011
1 parent 1a1914c commit af6a60f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 511f67a5997c4967c69a3961e2fc9f04d8d244ac
refs/heads/master: 7e9498705e810404ecf29bb2d6fa632b9484c609
2 changes: 2 additions & 0 deletions trunk/kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -3687,6 +3687,7 @@ void account_system_time(struct task_struct *p, int hardirq_offset,
__account_system_time(p, cputime, cputime_scaled, target_cputime64);
}

#ifndef CONFIG_VIRT_CPU_ACCOUNTING
#ifdef CONFIG_IRQ_TIME_ACCOUNTING
/*
* Account a tick to a process and cpustat
Expand Down Expand Up @@ -3753,6 +3754,7 @@ static void irqtime_account_idle_ticks(int ticks) {}
static void irqtime_account_process_tick(struct task_struct *p, int user_tick,
struct rq *rq) {}
#endif
#endif /* !CONFIG_VIRT_CPU_ACCOUNTING */

/*
* Account for involuntary wait time.
Expand Down

0 comments on commit af6a60f

Please sign in to comment.