|
From: Jeremy F. <je...@go...> - 2008-02-21 23:49:28
|
yam...@va... wrote:
> +static inline unsigned long
> +HYPERVISOR_machtophys(unsigned long mfn)
> +{
> + unsigned long ret = mfn;
> + if (is_running_on_xen())
>
Do you often call hypercalls when not booting under Xen? It seems to me
this check should have already been done at a higher layer, and it
needn't be repeated here.
> + ret = __HYPERVISOR_machtophys(mfn);
> + return ret;
> +}
J
|