X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fsrc%2Fcrush%2Ftypes.h;fp=src%2Fceph%2Fsrc%2Fcrush%2Ftypes.h;h=61f50c2130f52fe0e2353454662c2a2542e0f902;hb=812ff6ca9fcd3e629e49d4328905f33eee8ca3f5;hp=0000000000000000000000000000000000000000;hpb=15280273faafb77777eab341909a3f495cf248d9;p=stor4nfv.git diff --git a/src/ceph/src/crush/types.h b/src/ceph/src/crush/types.h new file mode 100644 index 0000000..61f50c2 --- /dev/null +++ b/src/ceph/src/crush/types.h @@ -0,0 +1,17 @@ +#ifndef CEPH_CRUSH_TYPES_H +#define CEPH_CRUSH_TYPES_H + +#ifdef KERNEL +# define free(x) kfree(x) +#else +# include +#endif + + +#include /* just for int types */ + +#ifndef BUG_ON +# define BUG_ON(x) assert(!(x)) +#endif + +#endif