]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdce2a3927ac52a0d0e9c9ad109d78af075d1261b
treec3ece701f16c74abb5c5085d216fbdb4f7bfb5fe
parentec2ba78a7f0d219d5a595c8efc8c5e1694312e59
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