xen/grant-table: Export gnttab_{alloc|free}_pages as GPL
authorOleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Fri, 1 Jun 2018 11:41:24 +0000 (14:41 +0300)
committerJuergen Gross <jgross@suse.com>
Tue, 19 Jun 2018 12:45:27 +0000 (14:45 +0200)
commit6e3cc2a6e259f49f5817d1561109832eff90f8e4
treec3ece701f16c74abb5c5085d216fbdb4f7bfb5fe
parent84c029a73327cef571eaa61c7d6e67e8031b52ec
xen/grant-table: Export gnttab_{alloc|free}_pages as GPL

Only gnttab_{alloc|free}_pages are exported as EXPORT_SYMBOL
while all the rest are exported as EXPORT_SYMBOL_GPL, thus
effectively making it not possible for non-GPL driver modules
to use grant table module. Export gnttab_{alloc|free}_pages as
EXPORT_SYMBOL_GPL so all the exports are aligned.

Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
drivers/xen/grant-table.c