[rcu:dev.2019.03.27a 35/46] drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c:45: undefined reference to `kfd_processes_srcu'
From: kbuild test robot
Date: Thu Mar 28 2019 - 17:52:35 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2019.03.27a
head: 3833875fa13a3f442252a48784a18f27879a4551
commit: 016b9910f5db3d900066a0c3a8b42855f70bb1cf [35/46] drivers/gpu/drm/amd: Dynamically allocate kfd_processes_srcu
config: i386-randconfig-m1-201912 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
git checkout 016b9910f5db3d900066a0c3a8b42855f70bb1cf
# 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