]> git.openfabrics.org - ~shefty/libibverbs.git/commit
Include htonll() and nothll() in <infiniband/arch.h>
authorRoland Dreier <rolandd@cisco.com>
Wed, 7 Sep 2005 20:01:31 +0000 (20:01 +0000)
committerRoland Dreier <rolandd@cisco.com>
Thu, 9 Nov 2006 19:35:57 +0000 (11:35 -0800)
commit15ba0b1eab8c7276dabbe53a542488d77f7d8114
tree6826d1d0bafd3e65c44d8dddfdadf77cd44d1e2c
parent7a126170e8a1c579564b64be9892cbe106a86463
Include htonll() and nothll() in <infiniband/arch.h>

Move htonll() and ntohll() from libmthca into libibverb's
<infiniband/arch.h>, and use them in ibv_get_device_guid() to
avoid pointer aliasing (which some versions of gcc miscompile).

Signed-off-by: Roland Dreier <rolandd@cisco.com>
ChangeLog
include/infiniband/arch.h
src/device.c