From: Greg Howard Date: Mon, 15 Aug 2005 20:00:00 +0000 (-0700) Subject: [IA64-SGI] fix unaligned memory access in snsc_event.c X-Git-Tag: v2.6.14-rc1~1019^2~11^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a402aaca51b7d56e62348f50a426c531b6bc29e;p=pandora-kernel.git [IA64-SGI] fix unaligned memory access in snsc_event.c It's been pointed out that environmental events from the system controllers on Altix machines cause the kernel to complain about unaligned memory accesses. This turns out to be because "be32_to_cpup()" didn't do everything I thought/hoped it did. I've added calls to pull the offending integers out of the buffers using get_unaligned() before feeding them to be32_to_cpup(). Signed-off-by: Greg Howard Signed-off-by: Tony Luck --- Reading git-diff-tree failed