Commit 7a0b6e01 authored by Isaku Yamahata's avatar Isaku Yamahata Committed by Tony Luck

[IA64] Update to use account_{steal,idle}_ticks

This patch fixes the following errors caused by
79741dd3 which changed
the prototypes of account_steal_time() and account_idle_time().

>   CC      arch/ia64/xen/time.o
> arch/ia64/xen/time.c: In function 'consider_steal_time':
> arch/ia64/xen/time.c:132: warning: passing argument 1 of 'account_steal_time' makes integer from pointer without a cast
> arch/ia64/xen/time.c:132: error: too many arguments to function 'account_steal_time'
> arch/ia64/xen/time.c:133: warning: passing argument 1 of 'account_steal_time' makes integer from pointer without a cast
> arch/ia64/xen/time.c:133: error: too many arguments to function 'account_steal_time'

Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: default avatarIsaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent 5393f780
...@@ -129,8 +129,8 @@ consider_steal_time(unsigned long new_itm) ...@@ -129,8 +129,8 @@ consider_steal_time(unsigned long new_itm)
blocked = stolentick; blocked = stolentick;
if (stolen > 0 || blocked > 0) { if (stolen > 0 || blocked > 0) {
account_steal_time(NULL, jiffies_to_cputime(stolen)); account_steal_ticks(stolen);
account_steal_time(idle_task(cpu), jiffies_to_cputime(blocked)); account_idle_ticks(blocked);
run_local_timers(); run_local_timers();
if (rcu_pending(cpu)) if (rcu_pending(cpu))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment