diff options
| author | Heiko Carstens <hca@linux.ibm.com> | 2024-11-04 11:03:41 +0100 |
|---|---|---|
| committer | Heiko Carstens <hca@linux.ibm.com> | 2024-11-07 10:33:44 +0100 |
| commit | e89204070dac190bb38d4e4e87c9a0c88664f385 (patch) | |
| tree | aad301581f360b22e7aef9fc672e0e864538333f /tools/docs/parse-headers.py | |
| parent | 5e91e2f09cbae5144324bbcfe3204e381cf2dfaa (diff) | |
s390/sparsemem: Provide phys_to_target_node() with CONFIG_NUMA
Add a trival phys_to_target_node() implementation which always returns 0 if
CONFIG_NUMA is enabled, since the s390 NUMA implementation only supports
node 0.
This is similar to memory_add_physaddr_to_nid() in order to avoid runtime
warnings.
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'tools/docs/parse-headers.py')
0 files changed, 0 insertions, 0 deletions
