On Thu, Feb 21, 2008 at 03:47:10PM -0800, Jeremy Fitzhardinge wrote:
> [EMAIL PROTECTED] 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.
IA64 pv_ops frame work doesn't exist yet so that xen code does
in order to boot on both native and xen for now.
I expect those check will be eliminated during developing ia64 pv_ops.
--
yamahata
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html