]> git.baikalelectronics.ru Git - kernel.git/commit
xen: assume XENFEAT_gnttab_map_avail_bits being set for pv guests
authorJuergen Gross <jgross@suse.com>
Fri, 30 Jul 2021 07:18:04 +0000 (09:18 +0200)
committerJuergen Gross <jgross@suse.com>
Mon, 30 Aug 2021 09:57:50 +0000 (11:57 +0200)
commit30dcc56bba911db561c35d4131baf983a41023f8
tree281131d05fb7f394239e93e204e89d9a496c34e3
parent2526cff7c4f944924f39043dc657189eccc4fe5c
xen: assume XENFEAT_gnttab_map_avail_bits being set for pv guests

XENFEAT_gnttab_map_avail_bits is always set in Xen 4.0 and newer.
Remove coding assuming it might be zero.

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Link: https://lore.kernel.org/r/20210730071804.4302-4-jgross@suse.com
Signed-off-by: Juergen Gross <jgross@suse.com>
drivers/xen/gntdev.c