sw64: invoke hmcall with HMC_* macros
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I56OLG -------------------------------- It's better to use HMC_* macro instead of numberic constant. This patch also adds __CALL_HMC_VOID to define hmcalls with no return value including sflush(). Signed-off-by: NHe Sheng <hesheng@wxiat.com> Reviewed-by: NCui Wei <cuiwei@wxiat.com> Signed-off-by: NGu Zitao <guzitao@wxiat.com>
Showing
想要评论请 注册 或 登录