aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/lib/atomic64_32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/lib/atomic64_32.c b/arch/x86/lib/atomic64_32.c
index 61959627e1e1..a910238a7760 100644
--- a/arch/x86/lib/atomic64_32.c
+++ b/arch/x86/lib/atomic64_32.c
@@ -4,7 +4,7 @@
4#include <asm/cmpxchg.h> 4#include <asm/cmpxchg.h>
5#include <asm/atomic.h> 5#include <asm/atomic.h>
6 6
7static inline u64 cmpxchg8b(u64 *ptr, u64 old, u64 new) 7static noinline u64 cmpxchg8b(u64 *ptr, u64 old, u64 new)
8{ 8{
9 u32 low = new; 9 u32 low = new;
10 u32 high = new >> 32; 10 u32 high = new >> 32;
@@ -74,7 +74,7 @@ u64 atomic64_read(atomic64_t *ptr)
74 * 74 *
75 * Atomically adds @delta to @ptr and returns @delta + *@ptr 75 * Atomically adds @delta to @ptr and returns @delta + *@ptr
76 */ 76 */
77u64 atomic64_add_return(u64 delta, atomic64_t *ptr) 77noinline u64 atomic64_add_return(u64 delta, atomic64_t *ptr)
78{ 78{
79 /* 79 /*
80 * Try first with a (probably incorrect) assumption about 80 * Try first with a (probably incorrect) assumption about