Code Review
/
stor4nfv.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
initial code repo
[stor4nfv.git]
/
src
/
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