diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2007-07-09 23:49:09 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2007-07-10 00:33:14 -0500 |
commit | 74a0ba61b1ca96d6bb98889a7d95cd057165da49 (patch) | |
tree | 1f062fa32459fd564a7331174fe11b2ad151e829 /include | |
parent | cef1a3a5b8697ad76a6d18753e418cfe6a897030 (diff) | |
download | blackbird-op-linux-74a0ba61b1ca96d6bb98889a7d95cd057165da49.tar.gz blackbird-op-linux-74a0ba61b1ca96d6bb98889a7d95cd057165da49.zip |
[POWERPC] Move inline asm eieio to using eieio inline function
Use the eieio function so we can redefine what eieio does rather
than direct inline asm. This is part code clean up and partially
because not all PPCs have eieio (book-e has mbar that maps to eieio).
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-powerpc/system.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-powerpc/system.h b/include/asm-powerpc/system.h index 09621f611dbc..eff3de953712 100644 --- a/include/asm-powerpc/system.h +++ b/include/asm-powerpc/system.h @@ -43,7 +43,7 @@ #ifdef CONFIG_SMP #define smp_mb() mb() #define smp_rmb() rmb() -#define smp_wmb() __asm__ __volatile__ ("eieio" : : : "memory") +#define smp_wmb() eieio() #define smp_read_barrier_depends() read_barrier_depends() #else #define smp_mb() barrier() |