]> git.proxmox.com Git - ceph.git/blob - ceph/src/crush/types.h
update sources to v12.1.4
[ceph.git] / ceph / src / crush / types.h
1 #ifndef CEPH_CRUSH_TYPES_H
2 #define CEPH_CRUSH_TYPES_H
3
4 #ifdef KERNEL
5 # define free(x) kfree(x)
6 #else
7 # include <stdlib.h>
8 #endif
9
10
11 #include <linux/types.h> /* just for int types */
12
13 #ifndef BUG_ON
14 # define BUG_ON(x) assert(!(x))
15 #endif
16
17 #endif