projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tools/bootconfig: Fix tracing_on option checking in ftrace2bconf.sh
[linux-2.6-microblaze.git]
/
lib
/
test_free_pages.c
diff --git
a/lib/test_free_pages.c
b/lib/test_free_pages.c
index
074e76b
..
25ae1ac
100644
(file)
--- a/
lib/test_free_pages.c
+++ b/
lib/test_free_pages.c
@@
-5,6
+5,8
@@
* Author: Matthew Wilcox <willy@infradead.org>
*/
* Author: Matthew Wilcox <willy@infradead.org>
*/
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
#include <linux/gfp.h>
#include <linux/mm.h>
#include <linux/module.h>
#include <linux/gfp.h>
#include <linux/mm.h>
#include <linux/module.h>
@@
-26,8
+28,11
@@
static void test_free_pages(gfp_t gfp)
static int m_in(void)
{
static int m_in(void)
{
+ pr_info("Testing with GFP_KERNEL\n");
test_free_pages(GFP_KERNEL);
test_free_pages(GFP_KERNEL);
+ pr_info("Testing with GFP_KERNEL | __GFP_COMP\n");
test_free_pages(GFP_KERNEL | __GFP_COMP);
test_free_pages(GFP_KERNEL | __GFP_COMP);
+ pr_info("Test completed\n");
return 0;
}
return 0;
}