linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [mmotm:master 85/153] kernel/sched/stats.h:135:33: error: 'struct rq' has no member named 'cpu'
@ 2018-09-13  2:34 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2018-09-13  2:34 UTC (permalink / raw)
  To: Johannes Weiner; +Cc: kbuild-all, Andrew Morton, Linux Memory Management List

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

tree:   git://git.cmpxchg.org/linux-mmotm.git master
head:   4977787d3fb3cf652665fa002d975d936539ecff
commit: 3c1357cc5244eb613596cad9d419c888a652f6fe [85/153] psi: pressure stall information for CPU, memory, and IO
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 3c1357cc5244eb613596cad9d419c888a652f6fe
        # save the attached .config to linux build tree
        GCC_VERSION=7.2.0 make.cross ARCH=sh 

All errors (new ones prefixed by >>):

   In file included from kernel/sched/sched.h:1367:0,
                    from kernel/sched/core.c:8:
   kernel/sched/stats.h: In function 'psi_task_tick':
>> kernel/sched/stats.h:135:33: error: 'struct rq' has no member named 'cpu'
      psi_memstall_tick(rq->curr, rq->cpu);
                                    ^~

vim +135 kernel/sched/stats.h

   128	
   129	static inline void psi_task_tick(struct rq *rq)
   130	{
   131		if (psi_disabled)
   132			return;
   133	
   134		if (unlikely(rq->curr->flags & PF_MEMSTALL))
 > 135			psi_memstall_tick(rq->curr, rq->cpu);
   136	}
   137	#else /* CONFIG_PSI */
   138	static inline void psi_enqueue(struct task_struct *p, bool wakeup) {}
   139	static inline void psi_dequeue(struct task_struct *p, bool sleep) {}
   140	static inline void psi_ttwu_dequeue(struct task_struct *p) {}
   141	static inline void psi_task_tick(struct rq *rq) {}
   142	#endif /* CONFIG_PSI */
   143	

---
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: 49555 bytes --]

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

only message in thread, other threads:[~2018-09-13  2:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-13  2:34 [mmotm:master 85/153] kernel/sched/stats.h:135:33: error: 'struct rq' has no member named 'cpu' 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