projects
/
ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kmalloc, kfree, etc => malloc, free, etc
[ust.git]
/
include
/
ust
/
kernelcompat.h
diff --git
a/include/ust/kernelcompat.h
b/include/ust/kernelcompat.h
index 4b43b7e3de02b03ab61156e06719b4ffe9600531..567ad03ea6d4b8162a91020283ba19d32dec5985 100644
(file)
--- a/
include/ust/kernelcompat.h
+++ b/
include/ust/kernelcompat.h
@@
-73,17
+73,8
@@
static inline long IS_ERR(const void *ptr)
/* MALLOCATION */
/* 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 zmalloc(s) calloc(1, s)
-#define GFP_KERNEL
-
/* ATTRIBUTES */
#define ____cacheline_aligned
/* ATTRIBUTES */
#define ____cacheline_aligned
This page took
0.023574 seconds
and
4
git commands to generate.