Skip to content

Commit de33edc

Browse files
author
Fox Snowpatch
committed
1 parent 4db4221 commit de33edc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/powerpc/include/asm/synch.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ static inline void ppc_after_tlbiel_barrier(void)
6060
MAKE_LWSYNC_SECTION_ENTRY(97, __lwsync_fixup);
6161
#define PPC_ACQUIRE_BARRIER "\n" stringify_in_c(__PPC_ACQUIRE_BARRIER)
6262
#define PPC_RELEASE_BARRIER stringify_in_c(LWSYNC) "\n"
63-
#define PPC_ATOMIC_ENTRY_BARRIER "\n" stringify_in_c(sync) "\n"
64-
#define PPC_ATOMIC_EXIT_BARRIER "\n" stringify_in_c(sync) "\n"
63+
#define PPC_ATOMIC_ENTRY_BARRIER "\n" stringify_in_c(LWSYNC) "\n"
64+
#define PPC_ATOMIC_EXIT_BARRIER "\n" stringify_in_c(isync) "\n"
6565
#else
6666
#define PPC_ACQUIRE_BARRIER
6767
#define PPC_RELEASE_BARRIER

0 commit comments

Comments
 (0)