diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-11-09 09:51:15 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-11-09 09:51:15 -0800 |
| commit | aa907639f1d9fe0e3274b4f6c1088542f750a539 (patch) | |
| tree | 9a49056ae536d51cb8146c2fdbaaf751f75f9a7f /arch/sparc/include/asm/system_64.h | |
| parent | a58695bb9d63764da9607bf1e7ff09ef03b190a8 (diff) | |
| parent | 1c9d80ddc60f8ac26344ec3db9830e5f8016c16d (diff) | |
| download | blackbird-op-linux-aa907639f1d9fe0e3274b4f6c1088542f750a539.tar.gz blackbird-op-linux-aa907639f1d9fe0e3274b4f6c1088542f750a539.zip | |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6:
sparc: Move of_set_property_mutex acquisition outside of devtree_lock grab.
sparc64: replace parentheses in pmul()
sparc64: Add a comment about why we only use certain memory barriers these days.
Diffstat (limited to 'arch/sparc/include/asm/system_64.h')
| -rw-r--r-- | arch/sparc/include/asm/system_64.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/system_64.h b/arch/sparc/include/asm/system_64.h index 25e848f0cad7..d47a98e66972 100644 --- a/arch/sparc/include/asm/system_64.h +++ b/arch/sparc/include/asm/system_64.h @@ -63,6 +63,10 @@ do { __asm__ __volatile__("ba,pt %%xcc, 1f\n\t" \ : : : "memory"); \ } while (0) +/* The kernel always executes in TSO memory model these days, + * and furthermore most sparc64 chips implement more stringent + * memory ordering than required by the specifications. + */ #define mb() membar_safe("#StoreLoad") #define rmb() __asm__ __volatile__("":::"memory") #define wmb() __asm__ __volatile__("":::"memory") |

