]> err.no Git - linux-2.6/commit
[ARM] 3849/1: fix get_unaligned() for gcc >= 4.1
authorLennert Buytenhek <buytenh@wantstofly.org>
Thu, 21 Sep 2006 01:24:38 +0000 (02:24 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 25 Sep 2006 09:34:00 +0000 (10:34 +0100)
commit17b602b1c1a38f3f0a4461bb1f571346e751b36b
tree406ea984d518c5eaa3fd14f03dd17ff216c356d4
parent3b7a86c2f01dafa797908fdcf386f51eb0d01f29
[ARM] 3849/1: fix get_unaligned() for gcc >= 4.1

gcc 4.1's __typeof__ propagates 'const', which breaks get_unaligned().
Rewrite get_unaligned() not to use __typeof__.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/unaligned.h