xtensa: keep sysmem banks ordered in add_sysmem_bank
authorMax Filippov <jcmvbkbc@gmail.com>
Sat, 22 Mar 2014 23:34:44 +0000 (03:34 +0400)
committerMax Filippov <jcmvbkbc@gmail.com>
Tue, 1 Apr 2014 21:35:52 +0000 (01:35 +0400)
commit9d4b52df4b1242e6ba9a00db5f8d62083a56709f
treed07dffe36aaeacda5b30472eaafb265100882861
parent9ba067f93f1eec0d241f002812806b873dd4f802
xtensa: keep sysmem banks ordered in add_sysmem_bank

Rewrite add_sysmem_bank so that it keeps bank order and merges
adjacent/overlapping banks.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/include/asm/sysmem.h
arch/xtensa/mm/init.c