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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Thursday, January 15, 2009 - 6:59 pm

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=7a0b6e...
Commit:     7a0b6e01434f77194b86c8051b4c3718da636c64
Parent:     5393f780277165f282a37ed82dd878159ec9dad5
Author:     Isaku Yamahata <yamahata@valinux.co.jp>
AuthorDate: Thu Jan 15 15:16:55 2009 +0900
Committer:  Tony Luck <tony.luck@intel.com>
CommitDate: Thu Jan 15 09:43:24 2009 -0800

    [IA64] Update to use account_{steal,idle}_ticks
    
    This patch fixes the following errors caused by
    79741dd35713ff4f6fd0eafd59fa94e8a4ba922d 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: Isaku Yamahata <yamahata@valinux.co.jp>
    Signed-off-by: Tony Luck <tony.luck@intel.com>
---
 arch/ia64/xen/time.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/ia64/xen/time.c b/arch/ia64/xen/time.c
index d15a94c..68d6204 100644
--- a/arch/ia64/xen/time.c
+++ b/arch/ia64/xen/time.c
@@ -129,8 +129,8 @@ consider_steal_time(unsigned long new_itm)
 		blocked = stolentick;
 
 	if (stolen > 0 || blocked > 0) {
-		account_steal_time(NULL, jiffies_to_cputime(stolen));
-		account_steal_time(idle_task(cpu), jiffies_to_cputime(blocked));
+		account_steal_ticks(stolen);
+		account_idle_ticks(blocked);
 		run_local_timers();
 
 		if (rcu_pending(cpu))
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[IA64] Update to use account_{steal,idle}_ticks, Linux Kernel Mailing ..., (Thu Jan 15, 6:59 pm)