xtensa: split bootparam and kernel meminfo
authorMax Filippov <jcmvbkbc@gmail.com>
Sat, 22 Mar 2014 23:17:43 +0000 (03:17 +0400)
committerMax Filippov <jcmvbkbc@gmail.com>
Tue, 1 Apr 2014 21:35:51 +0000 (01:35 +0400)
commit9ba067f93f1eec0d241f002812806b873dd4f802
tree423c136a38f9290bf8fba0ede928f9bc8e9bc3a8
parent25df8198f4b257cf6db4d4f000c53accfa9c28f8
xtensa: split bootparam and kernel meminfo

Bootparam meminfo is a bootloader ABI, kernel meminfo is for the kernel
bookkeeping, keep them separate. Kernel doesn't care of memory region
types, so drop the type field and don't pass it to add_sysmem_bank.
Move kernel sysmem structures and prototypes to asm/sysmem.h and sysmem
variable and add_sysmem_bank to mm/init.c

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/include/asm/bootparam.h
arch/xtensa/include/asm/sysmem.h [new file with mode: 0644]
arch/xtensa/kernel/setup.c
arch/xtensa/mm/init.c