public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH 13/28] ia64/xen: introduce xen hypercall routines necessary
@ 2008-02-21 23:47 Jeremy Fitzhardinge
  2008-02-22  3:54 ` [PATCH 13/28] ia64/xen: introduce xen hypercall routines necessary for domU Isaku Yamahata
  2008-02-22  5:10 ` Isaku Yamahata
  0 siblings, 2 replies; 3+ messages in thread
From: Jeremy Fitzhardinge @ 2008-02-21 23:47 UTC (permalink / raw)
  To: linux-ia64

yamahata@valinux.co.jp 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-02-22  5:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-21 23:47 [PATCH 13/28] ia64/xen: introduce xen hypercall routines necessary Jeremy Fitzhardinge
2008-02-22  3:54 ` [PATCH 13/28] ia64/xen: introduce xen hypercall routines necessary for domU Isaku Yamahata
2008-02-22  5:10 ` Isaku Yamahata

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox