sparc64: Stop using memory barriers for atomics and locks.
[deliverable/linux.git] / arch / sparc64 / kernel / traps.c
index 81ccd22e78d45d538225feae4b68a4d9257d1f77..04994fc8700d62a172c399b5beb1f9b61985a04f 100644 (file)
@@ -1371,7 +1371,6 @@ static int cheetah_fix_ce(unsigned long physaddr)
        __asm__ __volatile__("ldxa      [%0] %3, %%g0\n\t"
                             "ldxa      [%1] %3, %%g0\n\t"
                             "casxa     [%2] %3, %%g0, %%g0\n\t"
-                            "membar    #StoreLoad | #StoreStore\n\t"
                             "ldxa      [%0] %3, %%g0\n\t"
                             "ldxa      [%1] %3, %%g0\n\t"
                             "membar    #Sync"
This page took 0.02598 seconds and 5 git commands to generate.