From: kbuild test robot <lkp@intel.com>
To: Johannes Weiner <hannes@cmpxchg.org>
Cc: kbuild-all@01.org, Andrew Morton <akpm@linux-foundation.org>,
Linux Memory Management List <linux-mm@kvack.org>
Subject: [mmotm:master 85/153] kernel/sched/stats.h:135:33: error: 'struct rq' has no member named 'cpu'
Date: Thu, 13 Sep 2018 10:34:41 +0800 [thread overview]
Message-ID: <201809131038.vGgBB3Zy%fengguang.wu@intel.com> (raw)
[-- 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 --]
reply other threads:[~2018-09-13 2:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201809131038.vGgBB3Zy%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=akpm@linux-foundation.org \
--cc=hannes@cmpxchg.org \
--cc=kbuild-all@01.org \
--cc=linux-mm@kvack.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox