cputime: Consolidate vtime handling on context switch
[deliverable/linux.git] / arch / ia64 / kernel / time.c
index ecc904b33c5f2935fa1285d8f4cdac9515a3a84d..6247197b987782341bdc70465418094019dacb93 100644 (file)
@@ -88,10 +88,10 @@ extern cputime_t cycle_to_cputime(u64 cyc);
  * accumulated times to the current process, and to prepare accounting on
  * the next process.
  */
-void ia64_account_on_switch(struct task_struct *prev, struct task_struct *next)
+void account_switch_vtime(struct task_struct *prev)
 {
        struct thread_info *pi = task_thread_info(prev);
-       struct thread_info *ni = task_thread_info(next);
+       struct thread_info *ni = task_thread_info(current);
        cputime_t delta_stime, delta_utime;
        __u64 now;
 
This page took 0.036578 seconds and 5 git commands to generate.