#define KERN_ALERT ""
#define KERN_WARNING ""
+#define WARN_ON_ONCE(msg) WARN_ON(msg)
+
/* ERROR OPS */
#define MAX_ERRNO 4095
/* 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
}
+/* PERCPU */
+
+#define __get_cpu_var(x) x
+
#endif /* KERNELCOMPAT_H */