[rcu:dev.2019.04.02a 35/52] drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c:45: undefined reference to `kfd_processes_srcu'
From: kbuild test robot
Date: Thu Apr 04 2019 - 21:21:44 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2019.04.02a
head: 82d94d0c3c616bba12f1f2a7f2ea48a3363893c8
commit: 7950d16b08477aee3ea9aa77fb99a8650bc9378d [35/52] drivers/gpu/drm/amd: Dynamically allocate kfd_processes_srcu
config: i386-randconfig-m1-04050455 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
git checkout 7950d16b08477aee3ea9aa77fb99a8650bc9378d
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.o: In function `amdgpu_amdkfd_init':
>> drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c:45: undefined reference to `kfd_processes_srcu'
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.o: In function `amdgpu_amdkfd_fini':
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c:64: undefined reference to `kfd_processes_srcu'
vim +45 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
39
40 int amdgpu_amdkfd_init(void)
41 {
42 struct sysinfo si;
43 int ret;
44
> 45 ret = init_srcu_struct(&kfd_processes_srcu);
46 WARN_ON(ret);
47 si_meminfo(&si);
48 amdgpu_amdkfd_total_mem_size = si.totalram - si.totalhigh;
49 amdgpu_amdkfd_total_mem_size *= si.mem_unit;
50
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip