|
From: Isaku Y. <yam...@va...> - 2008-02-22 03:54:57
|
On Thu, Feb 21, 2008 at 03:47:10PM -0800, Jeremy Fitzhardinge wrote:
> 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.
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
|