commit | b416c9a10baae6a177b4f9ee858b8d309542fbef | [log] [tgz] |
---|---|---|
author | Tiejun Chen <tiejun.chen@windriver.com> | Wed Jul 11 14:22:46 2012 +1000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Wed Jul 11 15:25:45 2012 +1000 |
tree | b7e0ce85a57e83e19fccf8ce686ec4b41b00d2ec | |
parent | fd5a42980e1cf327b7240adf5e7b51ea41c23437 [diff] |
powerpc: Add "memory" attribute for mfmsr() Add "memory" attribute in inline assembly language as a compiler barrier to make sure 4.6.x GCC don't reorder mfmsr(). Signed-off-by: Tiejun Chen <tiejun.chen@windriver.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> CC: stable@vger.kernel.org