Repository navigation
Commit d954ffe
committed
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 <ganesan18@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>1 parent 870168a commit d954ffe
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1759 | 1759 | | |
1760 | 1760 | | |
1761 | 1761 | | |
1762 | | - | |
1763 | 1762 | | |
1764 | 1763 | | |
1765 | 1764 | | |
1766 | 1765 | | |
1767 | 1766 | | |
1768 | 1767 | | |
1769 | | - | |
| 1768 | + | |
1770 | 1769 | | |
1771 | 1770 | | |
1772 | 1771 | | |
| |||
0 commit comments