]> git.baikalelectronics.ru Git - kernel.git/commit
csky: Fixup arch_get_unmapped_area() implementation
authorGuo Ren <ren_guo@c-sky.com>
Tue, 20 Aug 2019 07:31:29 +0000 (15:31 +0800)
committerGuo Ren <ren_guo@c-sky.com>
Tue, 20 Aug 2019 08:09:37 +0000 (16:09 +0800)
commitdc4e5e8e7f8525646afbe95f0e4bb9a13950ae33
tree88175e0f8e4f9431d23dc581cef389c3e41fcf68
parent70293a4ff15ed7236dbc044fda7570b2beb68e3f
csky: Fixup arch_get_unmapped_area() implementation

Current arch_get_unmapped_area() of abiv1 doesn't use standard kernel
api. After referring to the implementation of arch/arm, we implement
it with vm_unmapped_area() from linux/mm.h.

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Cc: Arnd Bergmann <arnd@arndb.de>
arch/csky/abiv1/inc/abi/page.h
arch/csky/abiv1/mmap.c