]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - kernel/sys.c
Fix up for "printk: Drop pr_warning definition"
[linux.git] / kernel / sys.c
index a611d1d58c7d00525247edff32211cc9586f2c9e..d3aef31e24dca203d39ae59fcb0027a287fd8001 100644 (file)
@@ -1763,8 +1763,8 @@ void getrusage(struct task_struct *p, int who, struct rusage *r)
        unlock_task_sighand(p, &flags);
 
 out:
-       r->ru_utime = ns_to_timeval(utime);
-       r->ru_stime = ns_to_timeval(stime);
+       r->ru_utime = ns_to_kernel_old_timeval(utime);
+       r->ru_stime = ns_to_kernel_old_timeval(stime);
 
        if (who != RUSAGE_CHILDREN) {
                struct mm_struct *mm = get_task_mm(p);