cregit-Linux how code gets into the kernel

Release 4.10 arch/powerpc/include/asm/sparsemem.h

#ifndef _ASM_POWERPC_SPARSEMEM_H

#define _ASM_POWERPC_SPARSEMEM_H 1
#ifdef __KERNEL__

#ifdef CONFIG_SPARSEMEM
/*
 * SECTION_SIZE_BITS            2^N: how big each section will be
 * MAX_PHYSADDR_BITS            2^N: how much physical address space we have
 * MAX_PHYSMEM_BITS             2^N: how much memory we can have in that space
 */

#define SECTION_SIZE_BITS       24


#define MAX_PHYSADDR_BITS       46

#define MAX_PHYSMEM_BITS        46

#endif /* CONFIG_SPARSEMEM */

#ifdef CONFIG_MEMORY_HOTPLUG
extern int create_section_mapping(unsigned long start, unsigned long end);
extern int remove_section_mapping(unsigned long start, unsigned long end);
#ifdef CONFIG_NUMA
extern int hot_add_scn_to_nid(unsigned long scn_addr);
#else

static inline int hot_add_scn_to_nid(unsigned long scn_addr) { return 0; }

Contributors

PersonTokensPropCommitsCommitProp
mike kravetzmike kravetz14100.00%1100.00%
Total14100.00%1100.00%

#endif /* CONFIG_NUMA */ #endif /* CONFIG_MEMORY_HOTPLUG */ #endif /* __KERNEL__ */ #endif /* _ASM_POWERPC_SPARSEMEM_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
mike kravetzmike kravetz4950.00%220.00%
andy whitcroftandy whitcroft2121.43%110.00%
badari pulavartybadari pulavarty1313.27%220.00%
arnd bergmannarnd bergmann66.12%110.00%
david gibsondavid gibson33.06%110.00%
tony breedstony breeds33.06%110.00%
aneesh kumaraneesh kumar22.04%110.00%
anton blanchardanton blanchard11.02%110.00%
Total98100.00%10100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.