summaryrefslogtreecommitdiff
path: root/pfinet/glue-include/linux/mm.h
diff options
context:
space:
mode:
Diffstat (limited to 'pfinet/glue-include/linux/mm.h')
-rw-r--r--pfinet/glue-include/linux/mm.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/pfinet/glue-include/linux/mm.h b/pfinet/glue-include/linux/mm.h
new file mode 100644
index 00000000..a6f28e00
--- /dev/null
+++ b/pfinet/glue-include/linux/mm.h
@@ -0,0 +1,18 @@
+#ifndef _HACK_MM_H_
+#define _HACK_MM_H_
+
+#include <linux/kernel.h>
+#include <linux/sched.h>
+
+/* All memory addresses are presumptively valid, because they are
+ all internal. */
+#define verify_area(a,b,c) 0
+
+#define VERIFY_READ 0
+#define VERIFY_WRITE 0
+#define GFP_ATOMIC 0
+#define GFP_KERNEL 0
+#define GFP_BUFFER 0
+#define __GFP_WAIT 0
+
+#endif