gnttab: drop GNTMAP_can_fail
authorJan Beulich <jbeulich@suse.com>
Fri, 27 Aug 2021 08:53:48 +0000 (10:53 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 27 Aug 2021 08:53:48 +0000 (10:53 +0200)
There's neither documentation of what this flag is supposed to mean, nor
any implementation. Commit 4d45702cf0398 ("paging: Updates to public
grant table header file") suggests there might have been plans to use it
for interaction with mem-paging, but no such functionality has ever
materialized. With this, don't even bother enclosing the #define-s in a
__XEN_INTERFACE_VERSION__ conditional, but drop them altogether.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/include/public/grant_table.h

index 84b1d26b36d872b96febf2e42ef7287ee3d44e3d..69d1e9662e9e4da8a0e6dcec8195bc77e47b8d4a 100644 (file)
@@ -628,9 +628,6 @@ DEFINE_XEN_GUEST_HANDLE(gnttab_cache_flush_t);
 #define _GNTMAP_contains_pte    (4)
 #define GNTMAP_contains_pte     (1<<_GNTMAP_contains_pte)
 
-#define _GNTMAP_can_fail        (5)
-#define GNTMAP_can_fail         (1<<_GNTMAP_can_fail)
-
 /*
  * Bits to be placed in guest kernel available PTE bits (architecture
  * dependent; only supported when XENFEAT_gnttab_map_avail_bits is set).