X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=arch%2Fx86%2Fxen%2Fenlighten_pv.c;h=038da45f057a7a85ade569160b8518dd76d70f44;hb=cc675d22e422442f6d230654a55a5fc5682ea018;hp=f82857e488152a7377690f9d37a3a72e733c58d7;hpb=31c9c4c54ea9902af4b01545d3a10acd3cf815a9;p=platform%2Fkernel%2Flinux-starfive.git diff --git a/arch/x86/xen/enlighten_pv.c b/arch/x86/xen/enlighten_pv.c index f82857e..038da45 100644 --- a/arch/x86/xen/enlighten_pv.c +++ b/arch/x86/xen/enlighten_pv.c @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include @@ -113,7 +114,7 @@ static __read_mostly bool xen_msr_safe = IS_ENABLED(CONFIG_XEN_PV_MSR_SAFE); static int __init parse_xen_msr_safe(char *str) { if (str) - return strtobool(str, &xen_msr_safe); + return kstrtobool(str, &xen_msr_safe); return -EINVAL; } early_param("xen_msr_safe", parse_xen_msr_safe);