From: Roland Dreier Date: Mon, 15 Oct 2007 03:40:27 +0000 (-0700) Subject: IB/mthca: Avoid alignment traps when writing doorbells X-Git-Tag: v2.6.24-rc1~27^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab8403c424a35364a3a2c753f7c5917fcbb4d809;p=pandora-kernel.git IB/mthca: Avoid alignment traps when writing doorbells Architectures such as ia64 see alignment traps when doing a 64-bit read from __be32 doorbell[2] arrays to do doorbell writes in mthca_write64(). Fix this by just passing the two halves of the doorbell value into mthca_write64(). This actually improves the generated code by allowing the compiler to see what's going on better. Signed-off-by: Roland Dreier --- Reading git-diff-tree failed