mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
[PATCH] revised Memory Add Fixes for ppc64
Add the create_section_mapping() routine to create hptes for memory sections dynamically added after system boot. Signed-off-by: Mike Kravetz <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
This commit is contained in:
parent
76c8e25b90
commit
54b79248b2
3 changed files with 16 additions and 0 deletions
|
|
@ -11,6 +11,10 @@
|
|||
#define MAX_PHYSADDR_BITS 38
|
||||
#define MAX_PHYSMEM_BITS 36
|
||||
|
||||
#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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue