linux_dsm_epyc7002/drivers/xen/xenbus
Isaku Yamahata 5f0ababbf4 xen: replace callers of alloc_vm_area()/free_vm_area() with xen_ prefixed one
Don't use alloc_vm_area()/free_vm_area() directly, instead define
xen_alloc_vm_area()/xen_free_vm_area() and use them.

alloc_vm_area()/free_vm_area() are used to allocate/free area which
are for grant table mapping. Xen/x86 grant table is based on virtual
address so that alloc_vm_area()/free_vm_area() are suitable.
On the other hand Xen/ia64 (and Xen/powerpc) grant table is based on
pseudo physical address (guest physical address) so that allocation
should be done differently.
The original version of xenified Linux/IA64 have its own
allocate_vm_area()/free_vm_area() definitions which don't allocate vm area
contradictory to those names.
Now vanilla Linux already has its definitions so that it's impossible
to have IA64 definitions of allocate_vm_area()/free_vm_area().
Instead introduce xen_allocate_vm_area()/xen_free_vm_area() and use them.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-04-24 23:57:32 +02:00
..
Makefile xen: add the Xenbus sysfs and virtual device hotplug driver 2007-07-18 08:47:45 -07:00
xenbus_client.c xen: replace callers of alloc_vm_area()/free_vm_area() with xen_ prefixed one 2008-04-24 23:57:32 +02:00
xenbus_comms.c xen: add the Xenbus sysfs and virtual device hotplug driver 2007-07-18 08:47:45 -07:00
xenbus_comms.h xen: add the Xenbus sysfs and virtual device hotplug driver 2007-07-18 08:47:45 -07:00
xenbus_probe.c Add missing newlines to some uses of dev_<level> messages 2007-10-18 14:37:28 -07:00
xenbus_probe.h xen: add the Xenbus sysfs and virtual device hotplug driver 2007-07-18 08:47:45 -07:00
xenbus_xs.c xenbus_xs.c: fix a use-after-free 2007-07-26 11:35:17 -07:00