From: Gertjan van Wingerde Date: Sat, 7 Jun 2008 14:57:09 +0000 (+0200) Subject: rt2x00: Rework alignment check. X-Git-Tag: v2.6.27-rc1~969^2~324^2~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9f853ddd352954815a023c4811629ed117df2f8;p=pandora-kernel.git rt2x00: Rework alignment check. Rework the alignment check in rt2x00dev.c to be independent of any potential alignment measures that may be taken before. Just check whether the payload is aligned based on the pointer addresses. Note: This is preparatory for the dynamically mapped skb buffers for the PCI drivers, as these need 4-byte alignment instead of the currently enforced offset by 2 bytes. Signed-off-by: Gertjan van Wingerde Signed-off-by: Ivo van Doorn Signed-off-by: John W. Linville --- Reading git-diff-tree failed