aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ehca/ehca_classes.h
diff options
context:
space:
mode:
authorJason Gunthorpe <jgunthorpe@obsidianresearch.com>2007-01-19 11:58:49 -0700
committerRoland Dreier <rolandd@cisco.com>2007-02-04 14:11:56 -0800
commitfa7252ed4d92397baf30e4a144af95a33eaa925b (patch)
treeaeb9502195cc0faff69631ca184d38779e0d8ed5 /drivers/infiniband/hw/ehca/ehca_classes.h
parentIB/srp: Don't wait for response when QP is in error state. (diff)
downloadlinux-dev-fa7252ed4d92397baf30e4a144af95a33eaa925b.tar.xz
linux-dev-fa7252ed4d92397baf30e4a144af95a33eaa925b.zip
IB: Make sure struct ib_user_mad.data is aligned
Make the untyped data region in ib_user_mad have type u64 so that it gets aligned properly. This avoids alignment faults in ib_umad when casting the data field to an rmpp_mad and accessing the 64-bit tid field on architectures like ia64. Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/ehca/ehca_classes.h')
0 files changed, 0 insertions, 0 deletions