00001 #ifndef _CRUSH_TYPES_H 00002 #define _CRUSH_TYPES_H 00003 00004 #ifdef KERNEL 00005 # define free(x) kfree(x) 00006 #else 00007 # include <stdlib.h> 00008 #endif 00009 00010 00011 //#include <linux/types.h> /* just for int types */ 00012 00013 #ifndef BUG_ON 00014 # define BUG_ON(x) assert(!(x)) 00015 #endif 00016 00017 #endif