From: Al Viro Date: Sun, 16 Dec 2007 23:30:08 +0000 (+0000) Subject: sunhme endianness annotations X-Git-Tag: v2.6.25-rc1~1162^2~349 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3ec33e587df02e25963755989cc473e3f07bf0d;p=pandora-kernel.git sunhme endianness annotations This one is interesting - SBUS and PCI variants have opposite endianness in descriptors (SBUS is sparc-only, so there host-endian == big-endian). Solution: declare a bitwise type (hme32) and in accessor helpers do typechecking and force-casts (once we know that the type is right). Signed-off-by: Al Viro Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed