Re: [PATCH 13/28] ia64/xen: introduce xen hypercall routines necessary for domU.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



yamahata@xxxxxxxxxxxxx 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
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux