Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Oleksandr Andrushchenko and committed by
Juergen Gross
6e3cc2a6 84c029a7

+2 -2
+2 -2
drivers/xen/grant-table.c
··· 799 799 800 800 return 0; 801 801 } 802 - EXPORT_SYMBOL(gnttab_alloc_pages); 802 + EXPORT_SYMBOL_GPL(gnttab_alloc_pages); 803 803 804 804 /** 805 805 * gnttab_free_pages - free pages allocated by gnttab_alloc_pages() ··· 820 820 } 821 821 free_xenballooned_pages(nr_pages, pages); 822 822 } 823 - EXPORT_SYMBOL(gnttab_free_pages); 823 + EXPORT_SYMBOL_GPL(gnttab_free_pages); 824 824 825 825 /* Handling of paged out grant targets (GNTST_eagain) */ 826 826 #define MAX_DELAY 256