commit | 757be67f565b4336f0d847f3ca9332e050c9ba83 | [log] [tgz] |
---|---|---|
author | Ralf Baechle <ralf@linux-mips.org> | Tue Jan 22 18:03:45 2013 +0100 |
committer | Ralf Baechle <ralf@linux-mips.org> | Tue Jan 22 18:07:46 2013 +0100 |
tree | ecd6403707febbb2c4e954d2e12f978b4d94ab5d | |
parent | 4ea494b528ac1b9df9f0c77ba49e3e8ee108d9ec [diff] |
MIPS: Octeon: Fix warning. Cong Ding <dinggnu@gmail.com> reports correctly that the variable dummy is being used without initialization. That said, I can't reproduce this warning with GCC 4.7.1. However, since the variable dummy servces no real purpose, I'm going for a different fix. This fix includes https://patchwork.linux-mips.org/patch/4801/ plus Geert's suggestion to use ACCESS_ONCE(). Signed-off-by: Ralf Baechle <ralf@linux-mips.org>