Commit 479d4867 authored by Mao Minkai's avatar Mao Minkai Committed by guzitao
Browse files

sw64: fix memmap_range_valid()

Sunway inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I645QZ



--------------------------------

Fix memmap_range_valid() so users can reserve memory successfully
even part of the requested space extends beyond end of memory.

Signed-off-by: default avatarMao Minkai <maominkai@wxiat.com>
Reviewed-by: default avatarHe Sheng <hesheng@wxiat.com>
Signed-off-by: default avatarGu Zitao <guzitao@wxiat.com>
parent 057bcf8c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment