HEX
Server: nginx/1.24.0
System: Linux ip-172-31-22-109 6.17.0-1012-aws #12~24.04.1-Ubuntu SMP Mon Apr 6 17:36:28 UTC 2026 x86_64
User: ubuntu (1000)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: //usr/src/linux-headers-6.17.0-1013-aws/arch/s390/include/asm/sparsemem.h
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_S390_SPARSEMEM_H
#define _ASM_S390_SPARSEMEM_H

#define SECTION_SIZE_BITS	27
#define MAX_PHYSMEM_BITS	CONFIG_MAX_PHYSMEM_BITS

#ifdef CONFIG_NUMA

static inline int memory_add_physaddr_to_nid(u64 addr)
{
	return 0;
}
#define memory_add_physaddr_to_nid memory_add_physaddr_to_nid

static inline int phys_to_target_node(u64 start)
{
	return 0;
}
#define phys_to_target_node phys_to_target_node

#endif /* CONFIG_NUMA */

#endif /* _ASM_S390_SPARSEMEM_H */