xtensa: fix sysmem reservation at the end of existing block
commitbe6ae382dc153da51cf066c8dd523aa955f02531
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 9 Jun 2014 18:18:24 +0000 (9 22:18 +0400)
committerMax Filippov <jcmvbkbc@gmail.com>
Mon, 9 Jun 2014 18:29:12 +0000 (9 22:29 +0400)
tree5fce94b6924dbfd75cf8bdcf6253441b7b3d9b92
parent17290231df16eeee5dfc198dbf5ee4b419996dcd
xtensa: fix sysmem reservation at the end of existing block

When sysmem reservation occurs exactly at the end of an existing block
that block is deleted, because it is incorrectly included in the range
of memblocks to remove. Fix that by skipping such block.

Cc: stable@vger.kernel.org
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/mm/init.c