diff options
author | Michal Simek <monstr@monstr.eu> | 2011-12-22 11:33:24 (GMT) |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2012-03-23 08:28:14 (GMT) |
commit | 7c0d26150781cbd8a522259c9dea9e7ef23df8e3 (patch) | |
tree | f0324f4c59a50c74340ab198eda0832085e9be81 /arch/microblaze/include/asm/page.h | |
parent | 2f2f371f8907d169650f594850ca6096e2f73b77 (diff) | |
download | linux-fsl-qoriq-7c0d26150781cbd8a522259c9dea9e7ef23df8e3.tar.xz |
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>
Diffstat (limited to 'arch/microblaze/include/asm/page.h')
-rw-r--r-- | arch/microblaze/include/asm/page.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/page.h b/arch/microblaze/include/asm/page.h index 665f293..352cc23 100644 --- a/arch/microblaze/include/asm/page.h +++ b/arch/microblaze/include/asm/page.h @@ -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); |