xen/grant-table: remove support for V2 tables

Since 11c7ff17c9 (xen/grant-table: Force
to use v1 of grants.) the code for V2 grant tables is not used.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
This commit is contained in:
David Vrabel
2014-07-02 11:25:29 +01:00
committed by Konrad Rzeszutek Wilk
parent 162e371712
commit 438b33c714
4 changed files with 13 additions and 395 deletions

View File

@@ -45,14 +45,7 @@ void arch_gnttab_unmap(void *shared, unsigned long nr_gframes)
return;
}
int arch_gnttab_map_status(uint64_t *frames, unsigned long nr_gframes,
unsigned long max_nr_gframes,
grant_status_t **__shared)
{
return -ENOSYS;
}
int arch_gnttab_init(unsigned long nr_shared, unsigned long nr_status)
int arch_gnttab_init(unsigned long nr_shared)
{
return 0;
}