* error: call to undeclared function 'numa_add_reserved_memblk'
@ 2025-04-16 13:38 Miguel Ojeda
0 siblings, 0 replies; only message in thread
From: Miguel Ojeda @ 2025-04-16 13:38 UTC (permalink / raw)
To: Andrew Morton, Mike Rapoport, Yuquan Wang; +Cc: Linux-MM
Hi Andrew, Mike, Yuquan,
In a LoongArch defconfig+Rust build, I got:
drivers/acpi/numa/srat.c:467:6: error: call to undeclared function
'numa_add_reserved_memblk'; ISO C99 and later do not support implicit
function declarations [-Wimplicit-function-declaration]
467 | if (numa_add_reserved_memblk(node, start, end) < 0) {
| ^
I guess commit 8579eee90756 ("mm: numa_memblks: introduce
numa_add_reserved_memblk()") needs a `depends on` or `select` for
`NUMA_MEMBLKS`.
I hope that helps!
Cheers,
Miguel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-04-16 13:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-16 13:38 error: call to undeclared function 'numa_add_reserved_memblk' Miguel Ojeda
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox