#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_PPC_BOOK3S_64 extern void resize_hpt_for_hotplug(unsigned long new_mem_size); #else
static inline void resize_hpt_for_hotplug(unsigned long new_mem_size) { }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Michael Ellerman | 10 | 100.00% | 1 | 100.00% |
Total | 10 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Mike Kravetz | 14 | 100.00% | 1 | 100.00% |
Total | 14 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Mike Kravetz | 49 | 39.52% | 2 | 18.18% |
Michael Ellerman | 26 | 20.97% | 1 | 9.09% |
Andy Whitcroft | 21 | 16.94% | 1 | 9.09% |
Badari Pulavarty | 13 | 10.48% | 2 | 18.18% |
Arnd Bergmann | 6 | 4.84% | 1 | 9.09% |
Tony Breeds | 3 | 2.42% | 1 | 9.09% |
David Gibson | 3 | 2.42% | 1 | 9.09% |
Aneesh Kumar K.V | 2 | 1.61% | 1 | 9.09% |
Anton Blanchard | 1 | 0.81% | 1 | 9.09% |
Total | 124 | 100.00% | 11 | 100.00% |