mirror of
https://github.com/Dasharo/linux.git
synced 2026-03-06 15:25:10 -08:00
microblaze: Fix mapin_ram function
Fix how many pages are allocated in mapin_ram. It is lowmem_size not setup CONFIG_LOWMEM_SIZE because it is the same for all systems. Which means that wrong pages are allocated if memory size is smaller than CONFIG_LOWMEM_SIZE. It has dramatic impact on bootup time. On sp605 MMU full hw design is 7s. Signed-off-by: Michal Simek <monstr@monstr.eu>
This commit is contained in:
@@ -136,6 +136,7 @@ extern unsigned long max_pfn;
|
||||
|
||||
extern unsigned long memory_start;
|
||||
extern unsigned long memory_size;
|
||||
extern unsigned long lowmem_size;
|
||||
|
||||
extern int page_is_ram(unsigned long pfn);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user