The structure hypervisor_info and associated source, introduced in cfa0b7b82fbdda56d7160569def5c6133eb045aa, is needed on all Xen architectures and should not be in the x86 area. As ARM (likely RISC-V) only has the PVv2/PVH version, leave the PVv1 version as x86-only.
While the mechanism for setting xen_domain_type/HYPERVISOR_shared_info may differ, the presence of the variables will not. All architectures need these.