]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
byteorder: use gcc intrinsics for byteswap
authorKefu Chai <kchai@redhat.com>
Tue, 9 May 2017 06:41:41 +0000 (14:41 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 10 May 2017 15:12:30 +0000 (23:12 +0800)
commitb7a194eb6536e536b116b193dae929bc3a8ec8bc
treec1cf75b98d12f5d6f02e43b5e26b7b44fc704cfe
parentc44cdc27d5dbfdf84b8c8e15999429a16c2f0d81
byteorder: use gcc intrinsics for byteswap

* use gcc intrinsics for byteswap
* use template to wrap them.
* add the modeline for emacs/vim
* update the caller of the mswab/swab accordingly

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/auth/cephx/CephxProtocol.cc
src/auth/cephx/CephxProtocol.h
src/auth/cephx/CephxSessionHandler.cc
src/include/byteorder.h
src/os/kv.h
src/rbd_replay/ActionTypes.cc
src/tools/rbd_nbd/rbd-nbd.cc