[mmotm:master 85/153] kernel/sched/stats.h:135:33: error: 'struct rq' has no member named 'cpu'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux