OSDN Git Service

MIPS: Fix address type used for early memory detection.
authorSteven J. Hill <Steven.Hill@imgtec.com>
Thu, 13 Nov 2014 15:52:00 +0000 (09:52 -0600)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 24 Nov 2014 06:44:07 +0000 (07:44 +0100)
commitb4da18b3714a35c1123522810cc5ec0cd2ee4101
treefb25031640aa2d53d8d7e7447697db00743002b8
parent9e2b53725a209539b195ee359894bbbf8c16c885
MIPS: Fix address type used for early memory detection.

In 'early_parse_mem' the data type used for the start
and size of a memory region specified on the command line
is incorrect. If 64-bit addressing is used, the value
gets truncated.

Signed-off-by: Steven J. Hill <Steven.Hill@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8456/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/setup.c