From: Atsushi Nemoto Date: Wed, 8 Mar 2006 05:55:28 +0000 (-0800) Subject: [PATCH] __get_unaligned() gcc-4 fix X-Git-Tag: v2.6.16-rc6~72 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=707ced0d718e89b52b13aa55a64653083e792cca;p=pandora-kernel.git [PATCH] __get_unaligned() gcc-4 fix If the 'ptr' is a const, this code cause "assignment of read-only variable" error on gcc 4.x. Use __u64 instead of __typeof__(*(ptr)) for temporary variable to get rid of errors on gcc 4.x. Signed-off-by: Atsushi Nemoto Cc: Ralf Baechle Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed