/* SPDX-License-Identifier: GPL-2.0 */ #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 | 48 | 38.40% | 2 | 16.67% |
Michael Ellerman | 28 | 22.40% | 1 | 8.33% |
Andy Whitcroft | 21 | 16.80% | 1 | 8.33% |
David Gibson | 9 | 7.20% | 2 | 16.67% |
Badari Pulavarty | 6 | 4.80% | 1 | 8.33% |
Arnd Bergmann | 6 | 4.80% | 1 | 8.33% |
Tony Breeds | 3 | 2.40% | 1 | 8.33% |
Aneesh Kumar K.V | 2 | 1.60% | 1 | 8.33% |
Greg Kroah-Hartman | 1 | 0.80% | 1 | 8.33% |
Anton Blanchard | 1 | 0.80% | 1 | 8.33% |
Total | 125 | 100.00% | 12 | 100.00% |