From: Jan Beulich Date: Fri, 27 Aug 2021 08:53:48 +0000 (+0200) Subject: gnttab: drop GNTMAP_can_fail X-Git-Tag: archive/raspbian/4.16.0+51-g0941d6cb-1+rpi1~2^2~42^2~250 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d07b7ed8b564f48ff14922ac20347fb33bb27ffb;p=xen.git gnttab: drop GNTMAP_can_fail 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 Reviewed-by: Andrew Cooper --- diff --git a/xen/include/public/grant_table.h b/xen/include/public/grant_table.h index 84b1d26b36..69d1e9662e 100644 --- a/xen/include/public/grant_table.h +++ b/xen/include/public/grant_table.h @@ -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).