summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/include/asm/setup.h
diff options
context:
space:
mode:
authorMichal Simek2010-02-08 16:41:38 +0100
committerMichal Simek2012-03-23 09:28:18 +0100
commit95b0f9ea66661681f6ae081ea28416744d622c07 (patch)
treec4d387b9e4a5add47945be3036c7e5682ea5330c /arch/microblaze/include/asm/setup.h
parentmicroblaze: Extend space for compiled-in FDT to 32kB (diff)
downloadkernel-qcow2-linux-95b0f9ea66661681f6ae081ea28416744d622c07.tar.gz
kernel-qcow2-linux-95b0f9ea66661681f6ae081ea28416744d622c07.tar.xz
kernel-qcow2-linux-95b0f9ea66661681f6ae081ea28416744d622c07.zip
microblaze: Improve TLB calculation for small systems
Systems with small amount of memory need to be handled differently. Linux can't allocate the whole 32MB with two TLBs because then there is no MMU protection. Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/include/asm/setup.h')
-rw-r--r--arch/microblaze/include/asm/setup.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/microblaze/include/asm/setup.h b/arch/microblaze/include/asm/setup.h
index 6c72ed7eba98..9f195c094731 100644
--- a/arch/microblaze/include/asm/setup.h
+++ b/arch/microblaze/include/asm/setup.h
@@ -39,7 +39,8 @@ extern void of_platform_reset_gpio_probe(void);
void time_init(void);
void init_IRQ(void);
void machine_early_init(const char *cmdline, unsigned int ram,
- unsigned int fdt, unsigned int msr);
+ unsigned int fdt, unsigned int msr, unsigned int tlb0,
+ unsigned int tlb1);
void machine_restart(char *cmd);
void machine_shutdown(void);