xen/gnttab: Refactor gnttab_clear_flag() to be gnttab_clear_flags()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 21 Nov 2018 18:38:41 +0000 (18:38 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 8 Jul 2019 21:18:42 +0000 (16:18 -0500)
commit958524b25490d0a65ccea2e82665188be2f0ba3a
tree4e23761c29f63f36f07d9040f71c62df7b0e584b
parentaef98bd489c479c924716cfc1b4a511635800391
xen/gnttab: Refactor gnttab_clear_flag() to be gnttab_clear_flags()

To allow for further improvements, it is useful to be able to clear more than
a single flag at once.  Rework gnttab_clear_flag() into gnttab_clear_flags()
which takes a bitmask rather than a bit number.

No practical change yet.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Julien Grall <julien.grall@arm.com>
xen/common/grant_table.c
xen/include/asm-arm/grant_table.h
xen/include/asm-x86/grant_table.h