diff options
author | Richard Braun <rbraun@sceen.net> | 2013-05-16 21:22:55 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2013-05-16 21:22:55 +0200 |
commit | 9aef0adf731222e73b684e137aa4451417610db9 (patch) | |
tree | 17b089fbc9ac3026785bd9b59036bd87c5ad834c | |
parent | a41d9280866a018cf61aefbcbf404b8d6c4a494d (diff) |
x86/mb: remove eflags register from the clobber list
GCC already assumes the condition code register (eflags) is always
clobbered on this architecture.
-rw-r--r-- | arch/x86/machine/mb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/machine/mb.h b/arch/x86/machine/mb.h index e63c40d5..9fbd74bc 100644 --- a/arch/x86/machine/mb.h +++ b/arch/x86/machine/mb.h @@ -48,7 +48,7 @@ mb_sync(void) static inline void mb_sync(void) { - asm volatile("lock addl $0, 0(%%esp)" : : : "cc", "memory"); + asm volatile("lock addl $0, 0(%%esp)" : : : "memory"); } #endif /* __LP64__ */ |