ascend: sharepool: fix compile warning when the sharepool is turned off
ascend inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I4EUVI CVE: NA ------------------------------------------------- The is_vmalloc_sharepool agrument is defined of different type when the sharepool is turned off, it will occur the warning like this: /include/linux/share_pool.h:462:20: note: expected ‘struct vm_struct *’ but argument is of type ‘long unsigned int’ Fix this warning. Fixes: ad4504322d9e ("ascend: sharepool: don't enable the vmalloc to use hugepage default") Signed-off-by: NDing Tianhong <dingtianhong@huawei.com> Reviewed-by: NTang Yizhou <tangyizhou@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com> Reviewed-by: NWeilong Chen <chenweilong@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录