mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [tip:sched/core 83/86] kernel/sched/core.c:199:25: error: 'paravirt_steal_rq_enabled' undeclared
@ 2017-02-12  0:38 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2017-02-12  0:38 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: kbuild-all, linux-kernel, tipbuild

[-- Attachment #1: Type: text/plain, Size: 2538 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched/core
head:   bb3bac2ca9a3a5b7fa601781adf70167a0449d75
commit: 004172bdad644327dc7a6543186b9d7b529ee944 [83/86] sched/core: Remove unnecessary #include headers
config: arm-allyesconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 004172bdad644327dc7a6543186b9d7b529ee944
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All errors (new ones prefixed by >>):

   kernel/sched/core.c: In function 'update_rq_clock_task':
>> kernel/sched/core.c:199:25: error: 'paravirt_steal_rq_enabled' undeclared (first use in this function)
     if (static_key_false((&paravirt_steal_rq_enabled))) {
                            ^~~~~~~~~~~~~~~~~~~~~~~~~
   kernel/sched/core.c:199:25: note: each undeclared identifier is reported only once for each function it appears in
>> kernel/sched/core.c:200:11: error: implicit declaration of function 'paravirt_steal_clock' [-Werror=implicit-function-declaration]
      steal = paravirt_steal_clock(cpu_of(rq));
              ^~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/paravirt_steal_rq_enabled +199 kernel/sched/core.c

535b9552 Ingo Molnar 2017-02-01  193  		irq_delta = delta;
535b9552 Ingo Molnar 2017-02-01  194  
535b9552 Ingo Molnar 2017-02-01  195  	rq->prev_irq_time += irq_delta;
535b9552 Ingo Molnar 2017-02-01  196  	delta -= irq_delta;
535b9552 Ingo Molnar 2017-02-01  197  #endif
535b9552 Ingo Molnar 2017-02-01  198  #ifdef CONFIG_PARAVIRT_TIME_ACCOUNTING
535b9552 Ingo Molnar 2017-02-01 @199  	if (static_key_false((&paravirt_steal_rq_enabled))) {
535b9552 Ingo Molnar 2017-02-01 @200  		steal = paravirt_steal_clock(cpu_of(rq));
535b9552 Ingo Molnar 2017-02-01  201  		steal -= rq->prev_steal_time_rq;
535b9552 Ingo Molnar 2017-02-01  202  
535b9552 Ingo Molnar 2017-02-01  203  		if (unlikely(steal > delta))

:::::: The code at line 199 was first introduced by commit
:::::: 535b9552bb81eebe112ee7bd34ee498857b0c26b sched/rq_clock: Consolidate the ordering of the rq_clock methods

:::::: TO: Ingo Molnar <mingo@kernel.org>
:::::: CC: Ingo Molnar <mingo@kernel.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 59732 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-02-12  0:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-12  0:38 [tip:sched/core 83/86] kernel/sched/core.c:199:25: error: 'paravirt_steal_rq_enabled' undeclared kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®