xtensa: keep sysmem banks ordered in mem_reserve
authorMax Filippov <jcmvbkbc@gmail.com>
Sat, 22 Mar 2014 23:24:45 +0000 (03:24 +0400)
committerMax Filippov <jcmvbkbc@gmail.com>
Tue, 1 Apr 2014 21:35:53 +0000 (01:35 +0400)
commit6232791833785ae591b211609f6f7c4faa7c6e55
treeb1a8805d5f884068bdb567a415816779892a3638
parent9d4b52df4b1242e6ba9a00db5f8d62083a56709f
xtensa: keep sysmem banks ordered in mem_reserve

Rewrite mem_reserve so that it keeps bank order.
Also make its return code more traditional.

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