xen/gnttab: Fold grant_table_{create,set_limits}() into grant_table_init()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 19 Mar 2018 16:06:24 +0000 (16:06 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 31 Aug 2018 11:06:53 +0000 (12:06 +0100)
commit6425f91c72525295a551bf148d9a6b0fa7971097
tree097a12dd1c5e951d6ae3108bc06926d296a99549
parentae8b8bc599ce2c1fc42f00a30d5e35a48c3e970c
xen/gnttab: Fold grant_table_{create,set_limits}() into grant_table_init()

Now that the max_{grant,maptrack}_frames are specified from the very beginning
of grant table construction, the various initialisation functions can be
folded together and simplified as a result.

Leave grant_table_init() as the public interface, which is more consistent
with other subsystems.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/common/domain.c
xen/common/grant_table.c
xen/include/xen/grant_table.h