]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crush: add crush_compat.h
authorIlya Dryomov <idryomov@gmail.com>
Thu, 11 Jun 2015 13:03:01 +0000 (16:03 +0300)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 15 Jun 2015 15:13:40 +0000 (18:13 +0300)
commit69316a938724c86a526d14c0607f97d2ea6548fa
tree63c16b642969ba93264d991be98699cd455c61a9
parentecee227b61d972f8ee898325f812096ad0380ec3
crush: add crush_compat.h

Move all the cruft that is necessary to compile shared files both in
kernel and userspace into a new crush_compat.h.  Also add a stub for
div64_s64() and limits for linux fixed width types.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
src/crush/Makefile.am
src/crush/crush.c
src/crush/crush.h
src/crush/crush_compat.h [new file with mode: 0644]
src/crush/crush_ln_table.h
src/crush/hash.c
src/crush/hash.h
src/crush/mapper.c