blob: 919eed25261b0b2570c106296c5e2fd92280d6d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#ifndef CEPH_CRUSH_TYPES_H
#define CEPH_CRUSH_TYPES_H
#ifdef KERNEL
# define free(x) kfree(x)
#else
# include <stdlib.h>
#endif
#include <linux/types.h> /* just for int types */
#ifndef BUG_ON
# define BUG_ON(x) ceph_assert(!(x))
#endif
#endif
|