From: Haavard Skinnemoen Date: Mon, 10 Mar 2008 11:56:12 +0000 (+0100) Subject: avr32: Work around byteswap bug in gcc < 4.2 X-Git-Tag: v2.6.25-rc8~74^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bafe68034e3ef5e9f512bd0468001caf34981c41;p=pandora-kernel.git avr32: Work around byteswap bug in gcc < 4.2 gcc versions earlier than 4.2 sign-extends the result of le16_to_cpu() and friends when we implement __arch__swabX() using __builtin_bswap_X(). Disable our arch-specific optimizations when those gcc versions are being used. Signed-off-by: Haavard Skinnemoen --- Reading git-diff-tree failed