]> asedeno.scripts.mit.edu Git - linux.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)
commitbe819aa6f11145de32dab8690ec6055348488c18
tree88175e0f8e4f9431d23dc581cef389c3e41fcf68
parent5336c17928cc464845ff765ce45b368c22f848e0
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