X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=lib%2Ftest_free_pages.c;h=25ae1ac2624ae481ea50667abfcde8958a68a3a9;hb=69f637c33560b02ae7313e0c142d847361cc723a;hp=074e76bd76b2b3c9ba25ee9639b2d7d35d7f193b;hpb=e2f0c565ec70eb9e4d3b98deb5892af62de8b98d;p=linux-2.6-microblaze.git diff --git a/lib/test_free_pages.c b/lib/test_free_pages.c index 074e76bd76b2..25ae1ac2624a 100644 --- a/lib/test_free_pages.c +++ b/lib/test_free_pages.c @@ -5,6 +5,8 @@ * Author: Matthew Wilcox */ +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt + #include #include #include @@ -26,8 +28,11 @@ static void test_free_pages(gfp_t gfp) static int m_in(void) { + pr_info("Testing with GFP_KERNEL\n"); test_free_pages(GFP_KERNEL); + pr_info("Testing with GFP_KERNEL | __GFP_COMP\n"); test_free_pages(GFP_KERNEL | __GFP_COMP); + pr_info("Test completed\n"); return 0; }