]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
endian: simplify __le* type hackery
authorSage Weil <sage@newdream.net>
Fri, 7 May 2010 20:45:00 +0000 (13:45 -0700)
committerSage Weil <sage@newdream.net>
Wed, 26 May 2010 23:43:22 +0000 (16:43 -0700)
commit3bd995994ecc20fc384af6e41d9e4a659a1a33a3
tree239d3ed30d514493e154075c164e1207af74dc9b
parent817495d239a24a66098ab41f76baf5436a85d708
endian: simplify __le* type hackery

Instead of preventing linux/types.h from being included, instead name
our types ceph_le*, and remap using #define _only_ when including the
shared kernel/userspace headers.

Also redefine some templates for both __u64 and uint64_t, which are
apparently not the same on x86_64.
src/include/byteorder.h
src/include/encoding.h
src/include/hash.h
src/include/inttypes.h
src/include/types.h
src/include/utime.h
src/mds/CDir.cc
src/msg/SimpleMessenger.cc
src/osd/osd_types.h