/* 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, int nid); 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 | 37.50% | 2 | 15.38% |
Michael Ellerman | 28 | 21.88% | 1 | 7.69% |
Andy Whitcroft | 21 | 16.41% | 1 | 7.69% |
David Gibson | 9 | 7.03% | 2 | 15.38% |
Badari Pulavarty | 6 | 4.69% | 1 | 7.69% |
Arnd Bergmann | 6 | 4.69% | 1 | 7.69% |
Tony Breeds | 3 | 2.34% | 1 | 7.69% |
Nicholas Piggin | 3 | 2.34% | 1 | 7.69% |
Aneesh Kumar K.V | 2 | 1.56% | 1 | 7.69% |
Anton Blanchard | 1 | 0.78% | 1 | 7.69% |
Greg Kroah-Hartman | 1 | 0.78% | 1 | 7.69% |
Total | 128 | 100.00% | 13 | 100.00% |