]> git.baikalelectronics.ru Git - kernel.git/commit
microblaze: Fix mapin_ram function
authorMichal Simek <monstr@monstr.eu>
Thu, 22 Dec 2011 11:33:24 +0000 (12:33 +0100)
committerMichal Simek <monstr@monstr.eu>
Fri, 23 Mar 2012 08:28:14 +0000 (09:28 +0100)
commit5556694736760a9b2aa06a3247fd896d00946576
treef0324f4c59a50c74340ab198eda0832085e9be81
parent9eeaea75d10316eb1123c2988128f796bfa6fb3e
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>
arch/microblaze/include/asm/page.h
arch/microblaze/mm/pgtable.c