]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit834f8e64d120128471b6cf4e21072be80b518d4d
tree423c136a38f9290bf8fba0ede928f9bc8e9bc3a8
parentd66b9ce6c36a66508b261dc13ef73608dc22de64
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