Re: [ 100/180] powerpc: Add "memory" attribute for mfmsr()
From: Ben Hutchings
Date: Thu Oct 04 2012 - 17:32:24 EST
On Tue, Oct 02, 2012 at 12:53:37AM +0200, Willy Tarreau wrote:
> 2.6.32-longterm review patch. If anyone has any objections, please let me know.
>
> ------------------
>
> From: Tiejun Chen <tiejun.chen@xxxxxxxxxxxxx>
>
> commit b416c9a10baae6a177b4f9ee858b8d309542fbef upstream.
>
> 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@xxxxxxxxxxxxx>
> Signed-off-by: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
>
> commit 93487ce8d6edc7c550b1449770df5e44715f520f upstream.
[...]
Another 3.0 stable reference.
Ben.
--
Ben Hutchings
We get into the habit of living before acquiring the habit of thinking.
- Albert Camus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/