]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
xtensa: fix sysmem reservation at the end of existing block
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 9 Jun 2014 18:18:24 +0000 (22:18 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 31 Jul 2014 19:44:06 +0000 (12:44 -0700)
commit1f919283ecd0b3b6ee77a6691cce696ef6fb3e60
treef448fd2b8e5f0c9ae5d3d4a9b91765271edd2590
parent270239fd5697caf728f59cfa873fc198d59e76a1
xtensa: fix sysmem reservation at the end of existing block

commit be6ae382dc153da51cf066c8dd523aa955f02531 upstream.

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.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/xtensa/mm/init.c