From: John Hubbard <jhubbard@xxxxxxxxxx> A new dump_page() routine was recently added, and marked EXPORT_SYMBOL_GPL. This routine was also added to the VM_BUG_ON_PAGE() macro, and so the end result is that non-GPL code can no longer call get_page() and a few other routines. This trivial patch simply changes dump_page() to be EXPORT_SYMBOL. Signed-off-by: John Hubbard <jhubbard@xxxxxxxxxx> --- mm/page_alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 3bac76a..7a92925 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -6564,4 +6564,4 @@ void dump_page(struct page *page, char *reason) { dump_page_badflags(page, reason, 0); } -EXPORT_SYMBOL_GPL(dump_page); +EXPORT_SYMBOL(dump_page); -- 1.9.0 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>