> +static inline u64 hv_get_register(unsigned int reg)
> +{
> +     return hv_get_vpreg(reg);
> +}
> +
> +/* SMCCC hypercall parameters */
> +#define HV_SMCCC_FUNC_NUMBER 1
> +#define HV_FUNC_ID   ARM_SMCCC_CALL_VAL(                     \
> +                             ARM_SMCCC_STD_CALL,             \
> +                             ARM_SMCCC_SMC_64,               \
> +                             ARM_SMCCC_OWNER_VENDOR_HYP,     \
> +                             HV_SMCCC_FUNC_NUMBER)
> +
> +#include <asm-generic/mshyperv.h>
> +
> +#endif
> --
> 1.8.3.1

Reviewed-by: Sunil Muthuswamy <sunil...@microsoft.com>

Reply via email to