* mm/percpu-vm.c:190:28: error: use of undeclared identifier 'percpu_pgd'
@ 2026-04-30 12:59 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-04-30 12:59 UTC (permalink / raw)
To: Yang Shi; +Cc: llvm, oe-kbuild-all, 0day robot
tree: https://github.com/intel-lab-lkp/linux/commits/Yang-Shi/arm64-mm-enable-percpu-kernel-page-table/20260430-122920
head: 7e0c701a28a9dc36bcaf857ae2a956b4f3131bf2
commit: 373b4cb83c6c0116f0501c81416c27dd7c07f8a5 mm: percpu: allocate and free local percpu vm area
date: 8 hours ago
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20260430/202604301449.4Jz6CEe5-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260430/202604301449.4Jz6CEe5-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202604301449.4Jz6CEe5-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from mm/percpu.c:1585:
>> mm/percpu-vm.c:190:28: error: use of undeclared identifier 'percpu_pgd'
190 | __pcpu_unmap_pages_local(percpu_pgd[cpu],
| ^
mm/percpu-vm.c:283:32: error: use of undeclared identifier 'percpu_pgd'
283 | err = __pcpu_map_pages_local(percpu_pgd[cpu],
| ^
mm/percpu-vm.c:299:28: error: use of undeclared identifier 'percpu_pgd'
299 | __pcpu_unmap_pages_local(percpu_pgd[cpu],
| ^
mm/percpu.c:3292:32: error: use of undeclared identifier 'percpu_pgd'
3292 | map_local_percpu_first_chunk(percpu_pgd[unit], (unsigned long)pcpu_vm.addr,
| ^
4 errors generated.
vim +/percpu_pgd +190 mm/percpu-vm.c
159
160 /**
161 * pcpu_unmap_pages - unmap pages out of a pcpu_chunk
162 * @chunk: chunk of interest
163 * @pages: pages array which can be used to pass information to free
164 * @page_start: page index of the first page to unmap
165 * @page_end: page index of the last page to unmap + 1
166 *
167 * For each cpu, unmap pages [@page_start,@page_end) out of @chunk.
168 * Corresponding elements in @pages were cleared by the caller and can
169 * be used to carry information to pcpu_free_pages() which will be
170 * called after all unmaps are finished. The caller should call
171 * proper pre/post flush functions.
172 */
173 static void pcpu_unmap_pages(struct pcpu_chunk *chunk,
174 struct page **pages, int page_start, int page_end)
175 {
176 unsigned int cpu;
177 int i;
178
179 for_each_possible_cpu(cpu) {
180 for (i = page_start; i < page_end; i++) {
181 struct page *page;
182
183 page = pcpu_chunk_page(chunk, cpu, i);
184 WARN_ON(!page);
185 pages[pcpu_page_idx(cpu, i)] = page;
186 }
187 __pcpu_unmap_pages(pcpu_chunk_addr(chunk, cpu, page_start),
188 page_end - page_start);
189
> 190 __pcpu_unmap_pages_local(percpu_pgd[cpu],
191 (unsigned long)chunk->local_base + (page_start << PAGE_SHIFT),
192 page_end - page_start);
193 }
194 }
195
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-04-30 13:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-30 12:59 mm/percpu-vm.c:190:28: error: use of undeclared identifier 'percpu_pgd' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox