]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: nommu: don't limit TASK_SIZE
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 3 Jun 2014 15:24:51 +0000 (17:24 +0200)
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 1 Jul 2014 09:12:08 +0000 (11:12 +0200)
commit84de802d2539336f51097c284e8ce16977c92e44
treef3200b290cba8c9d6a031852a4c11d9045ce5269
parentc96b1f3a0e5c04e66ef7510b21a312ace9d78993
ARM: nommu: don't limit TASK_SIZE

With TASK_SIZE set to the maximal RAM address booting in some XIP
configurations fails (e.g. on efm32 DK3750). The problem is that
strncpy_from_user et al. check for the address not being above TASK_SIZE
(since 85513564ab76 (ARM: 7449/1: use generic strnlen_user and
strncpy_from_user functions)) and this makes booting fail if the XIP
flash is above the RAM address space.

This change is in line with blackfin, frv and m68k which also use
0xffffffff for TASK_SIZE with !MMU.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
arch/arm/include/asm/memory.h