powerpc/8xx: Add support for TASK_SIZE greater than 0x80000000
authorLEROY Christophe <christophe.leroy@c-s.fr>
Mon, 20 Apr 2015 05:54:46 +0000 (07:54 +0200)
committerScott Wood <scottwood@freescale.com>
Wed, 3 Jun 2015 02:37:26 +0000 (21:37 -0500)
commiteeba1f7c38425cfc0b70ba133ab7e523d5b6d90e
tree3a60c781a9a40658ae6854cf9115b8050ec07d09
parentb821c5fe84829996e179bba5da30ee33fb8e9f9f
powerpc/8xx: Add support for TASK_SIZE greater than 0x80000000

By default, TASK_SIZE is set to 0x80000000 for PPC_8xx, which is most
likely sufficient for most cases. However, kernel configuration allows
to set TASK_SIZE to another value, so the 8xx shall handle it.

This patch also takes into account the case of PAGE_OFFSET lower than
0x80000000, allthought most of the time it is equal to 0xC0000000

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/kernel/head_8xx.S