MIPS: 64-bit: Detect virtual memory size
authorGuenter Roeck <guenter.roeck@ericsson.com>
Tue, 2 Feb 2010 16:52:20 +0000 (08:52 -0800)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 2 Feb 2010 18:56:23 +0000 (19:56 +0100)
Linux kernel 2.6.32 and later allocate address space from the top of the
kernel virtual memory address space.

This patch implements virtual memory size detection for 64 bit MIPS CPUs
to avoid resulting crashes.

Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/935/
Reviewed-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

No differences found