From: Ralf Baechle Date: Tue, 2 Aug 2011 21:52:48 +0000 (+0100) Subject: MIPS: tlbex: Fix build error in R3000 code. X-Git-Tag: v3.1-rc10~17^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d954ffe34a606d4ec34cd3c2b0b5974779759f25;p=pandora-kernel.git MIPS: tlbex: Fix build error in R3000 code. Only some GCC versions such as gcc 4.2 notice that the variable wr in build_r3000_tlb_modify_handler is used uninitialized. When using one of those GCCs the build will fail due to -Werror. GCC 4.6 does not warn about the uninitialized use of wr. This issue was introduced by 7211f4d7a3dcbe57c5d396c334dca525315dceb2 [MIPS: Close races in TLB modify handlers.] Reported-by: Ganesan Ramalingam Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed