kmalloc, kfree, etc => malloc, free, etc
[ust.git] / include / ust / kernelcompat.h
index da2326192928cd3d81e233a1f4120d2598e101fe..567ad03ea6d4b8162a91020283ba19d32dec5985 100644 (file)
@@ -22,6 +22,8 @@
 #define KERN_ALERT ""
 #define KERN_WARNING ""
 
+#define WARN_ON_ONCE(msg) WARN_ON(msg)
+
 /* ERROR OPS */
 
 #define MAX_ERRNO      4095
@@ -71,17 +73,8 @@ static inline long IS_ERR(const void *ptr)
 
 /* MALLOCATION */
 
-#include <stdlib.h>
-
-#define kmalloc(s, t) malloc(s)
-#define kzalloc(s, t) zmalloc(s)
-#define kfree(p) free((void *)p)
-#define kstrdup(s, t) strdup(s)
-
 #define zmalloc(s) calloc(1, s)
 
-#define GFP_KERNEL
-
 /* ATTRIBUTES */
 
 #define ____cacheline_aligned
This page took 0.023097 seconds and 4 git commands to generate.