X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=include%2Fust%2Fkernelcompat.h;h=567ad03ea6d4b8162a91020283ba19d32dec5985;hb=909bc43f70be2b1d3efcefe33121ee1e99d9895b;hp=4b43b7e3de02b03ab61156e06719b4ffe9600531;hpb=b102c2b0b07a155285716d9f7fd788662cecd54b;p=ust.git diff --git a/include/ust/kernelcompat.h b/include/ust/kernelcompat.h index 4b43b7e..567ad03 100644 --- a/include/ust/kernelcompat.h +++ b/include/ust/kernelcompat.h @@ -73,17 +73,8 @@ static inline long IS_ERR(const void *ptr) /* MALLOCATION */ -#include - -#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