mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-14 21:01:29 +00:00
a7df61a0e2
The definitions in sparsemem.h arent sufficient. We currently sell machines with 2TB of RAM, and in order to give us room for a few years growth lets set it to 16TB. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
21 lines
607 B
C
21 lines
607 B
C
#ifndef _ASM_POWERPC_SPARSEMEM_H
|
|
#define _ASM_POWERPC_SPARSEMEM_H 1
|
|
|
|
#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 44
|
|
#define MAX_PHYSMEM_BITS 44
|
|
|
|
#ifdef CONFIG_MEMORY_HOTPLUG
|
|
extern void create_section_mapping(unsigned long start, unsigned long end);
|
|
#endif /* CONFIG_MEMORY_HOTPLUG */
|
|
|
|
#endif /* CONFIG_SPARSEMEM */
|
|
|
|
#endif /* _ASM_POWERPC_SPARSEMEM_H */
|