MIPS: Fix 64k page support for 32 bit kernels.
authorRalf Baechle <ralf@linux-mips.org>
Thu, 4 Feb 2016 00:24:40 +0000 (01:24 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 21 Aug 2016 21:22:41 +0000 (23:22 +0200)
commitce7222fcf118bb835ed6f0b1699fe14e47f2b461
tree5747640666eb03442b328d38cdbdcd13a69b1f14
parent13f004c0ac440bf6b6272648f679759dd4ca89af
MIPS: Fix 64k page support for 32 bit kernels.

commit d7de413475f443957a0c1d256e405d19b3a2cb22 upstream.

TASK_SIZE was defined as 0x7fff8000UL which for 64k pages is not a
multiple of the page size.  Somewhere further down the math fails
such that executing an ELF binary fails.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Tested-by: Joshua Henderson <joshua.henderson@microchip.com>
Cc: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Willy Tarreau <w@1wt.eu>
arch/mips/include/asm/processor.h