]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - fs/binfmt_elf.c
sched/cputime: Introduce special task_cputime_t() API to return old-typed cputime
[mirror_ubuntu-artful-kernel.git] / fs / binfmt_elf.c
index 422370293cfd8cfc9b0f527f73498ce7c28244be..68b915650cae76fa3bd14774d7dd39c7ab23d78a 100644 (file)
@@ -1421,19 +1421,19 @@ static void fill_prstatus(struct elf_prstatus *prstatus,
        prstatus->pr_pgrp = task_pgrp_vnr(p);
        prstatus->pr_sid = task_session_vnr(p);
        if (thread_group_leader(p)) {
-               struct task_cputime cputime;
+               struct task_cputime_t cputime;
 
                /*
                 * This is the record for the group leader.  It shows the
                 * group-wide total, not its individual thread total.
                 */
-               thread_group_cputime(p, &cputime);
+               thread_group_cputime_t(p, &cputime);
                cputime_to_timeval(cputime.utime, &prstatus->pr_utime);
                cputime_to_timeval(cputime.stime, &prstatus->pr_stime);
        } else {
                cputime_t utime, stime;
 
-               task_cputime(p, &utime, &stime);
+               task_cputime_t(p, &utime, &stime);
                cputime_to_timeval(utime, &prstatus->pr_utime);
                cputime_to_timeval(stime, &prstatus->pr_stime);
        }