[PATCH 2/3] radix-tree tests: fix compilation
From: Konstantin Khlebnikov <hidden>
Date: 2016-02-27 11:42:54
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Konstantin Khlebnikov <hidden>
Date: 2016-02-27 11:42:54
Subsystem:
the rest · Maintainer:
Linus Torvalds
Couple GFP flags and empty header linux/init.h Signed-off-by: Konstantin Khlebnikov <redacted> --- tools/testing/radix-tree/linux/gfp.h | 2 ++ tools/testing/radix-tree/linux/init.h | 0 2 files changed, 2 insertions(+) create mode 100644 tools/testing/radix-tree/linux/init.h
diff --git a/tools/testing/radix-tree/linux/gfp.h b/tools/testing/radix-tree/linux/gfp.h
index 01f1eabba119..0e37f7a760eb 100644
--- a/tools/testing/radix-tree/linux/gfp.h
+++ b/tools/testing/radix-tree/linux/gfp.h@@ -4,5 +4,7 @@ #define __GFP_BITS_SHIFT 22 #define __GFP_BITS_MASK ((gfp_t)((1 << __GFP_BITS_SHIFT) - 1)) #define __GFP_WAIT 1 +#define __GFP_ACCOUNT 0 +#define __GFP_NOWARN 0 #endif
diff --git a/tools/testing/radix-tree/linux/init.h b/tools/testing/radix-tree/linux/init.h
new file mode 100644
index 000000000000..e69de29bb2d1
--To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>