linux_old1/arch/mips/mti-malta
Markos Chandras 2ff89d64f2 MIPS: malta: memory.c: Initialize the 'memsize' variable
If the 'memsize' environmental variable is not set by the bootloader
the 'memsize' variable is not initialized, leading to potential memory
problems. This patch fixes the problem by setting the initial
value to '0' to force the kernel to set a good default memory size.

Cc: <stable@vger.kernel.org> # v3.15+
Reported-by: Matheus Almeida <Matheus.Almeida@imgtec.com>
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: Markos Chandras <markos.chandras@imgtec.com>
Cc: stable@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/6984/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2014-05-25 12:46:24 +02:00
..
Makefile MIPS: Malta: use generic 8250 early console 2014-01-23 13:02:35 +01:00
Platform KVM/MIPS32: Infrastructure/build files. 2013-05-08 03:55:34 +02:00
malta-amon.c MIPS: APRP: Choose the correct VPE loader by fixing the linking 2014-03-06 21:20:23 +01:00
malta-display.c MIPS: FW: malta: Code formatting clean-ups. 2013-05-08 12:30:10 +02:00
malta-init.c MIPS: malta: malta-init: Fix System Controller memory mapping for EVA 2014-03-26 23:09:20 +01:00
malta-int.c Merge branch '3.14-fixes' into mips-for-linux-next 2014-03-31 18:17:33 +02:00
malta-memory.c MIPS: malta: memory.c: Initialize the 'memsize' variable 2014-05-25 12:46:24 +02:00
malta-platform.c MIPS: Malta: Remove ttyS2 serial for CMP platforms 2014-01-22 20:18:57 +01:00
malta-reset.c MIPS: malta: Remove software reset defines from generic header. 2013-06-21 18:07:01 +02:00
malta-setup.c MIPS: Malta: Fix CONFIG_BLK_DEV_IDE vestiges. 2014-03-31 18:17:12 +02:00
malta-smtc.c MIPS: Delete __cpuinit/__CPUINIT usage from MIPS code 2013-07-14 19:36:51 -04:00
malta-time.c MIPS: Malta: initialise the RTC at boot 2014-01-23 13:02:35 +01:00