Go to the documentation of this file. 1 #ifndef _ASM_POWERPC_SPARSEMEM_H
2 #define _ASM_POWERPC_SPARSEMEM_H 1
5 #ifdef CONFIG_SPARSEMEM
11 #define SECTION_SIZE_BITS 24
13 #define MAX_PHYSADDR_BITS 46
14 #define MAX_PHYSMEM_BITS 46
18 #ifdef CONFIG_MEMORY_HOTPLUG
19 extern int create_section_mapping(
unsigned long start,
unsigned long end);
20 extern int remove_section_mapping(
unsigned long start,
unsigned long end);
22 extern int hot_add_scn_to_nid(
unsigned long scn_addr);
24 static inline int hot_add_scn_to_nid(
unsigned long scn_addr)