csky: Fixup pfn_valid error with wrong max_mapnr
The max_mapnr is the number of PFNs, not absolute PFN offset.
Using set_max_mapnr API instead of setting the value directly.
Signed-off-by: NGuo Ren <guoren@linux.alibaba.com>
Showing
想要评论请 注册 或 登录