1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef _ASM_S390_SPARSEMEM_H 3 #define _ASM_S390_SPARSEMEM_H 4 5 #define SECTION_SIZE_BITS 27 6 #define MAX_PHYSMEM_BITS CONFIG_MAX_PHYSMEM_BITS 7 8 #ifdef CONFIG_NUMA 9 10 static inline int memory_add_physaddr_to_nid(u64 addr) 11 { 12 return 0; 13 } 14 #define memory_add_physaddr_to_nid memory_add_physaddr_to_nid 15 16 static inline int phys_to_target_node(u64 start) 17 { 18 return 0; 19 } 20 #define phys_to_target_node phys_to_target_node 21 22 #endif /* CONFIG_NUMA */ 23 24 #endif /* _ASM_S390_SPARSEMEM_H */ 25