[PATCH 3/4] cputime/powerpc/s390: make scaled cputime arch specific

kbuild test robot lkp at intel.com
Tue Nov 1 00:02:47 AEDT 2016


Hi Stanislaw,

[auto build test ERROR on powerpc/next]
[also build test ERROR on v4.9-rc3 next-20161028]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url:    https://github.com/0day-ci/linux/commits/Stanislaw-Gruszka/cputime-powerpc-remove-cputime_last_delta-global-variable/20161031-204221
base:   https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: x86_64-randconfig-x011-201644 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   kernel/sched/cputime.c: In function 'irqtime_account_process_tick':
>> kernel/sched/cputime.c:388:36: error: expected ')' before 'CPUTIME_SYSTEM'
      __account_system_time(p, cputime CPUTIME_SYSTEM);
                                       ^~~~~~~~~~~~~~
>> kernel/sched/cputime.c:388:3: error: too few arguments to function '__account_system_time'
      __account_system_time(p, cputime CPUTIME_SYSTEM);
      ^~~~~~~~~~~~~~~~~~~~~
   kernel/sched/cputime.c:191:6: note: declared here
    void __account_system_time(struct task_struct *p, cputime_t cputime, int index)
         ^~~~~~~~~~~~~~~~~~~~~

vim +388 kernel/sched/cputime.c

   382			account_user_time(p, cputime);
   383		} else if (p == rq->idle) {
   384			account_idle_time(cputime);
   385		} else if (p->flags & PF_VCPU) { /* System time or guest time */
   386			account_guest_time(p, cputime);
   387		} else {
 > 388			__account_system_time(p, cputime CPUTIME_SYSTEM);
   389		}
   390	}
   391	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 24509 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20161031/e89fac38/attachment-0001.gz>


More information about the Linuxppc-dev mailing list