Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 269546
b: refs/heads/master
c: 00a4154
h: refs/heads/master
v: v3
  • Loading branch information
Jeremy Fitzhardinge authored and H. Peter Anvin committed Aug 29, 2011
1 parent fc1a8a2 commit 7e8dd65
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 416185bd5ac8a749ee43d1b0967b43782843d1a0
refs/heads/master: 00a41546e8008b9944382eed1841c785f4fc8d9c
10 changes: 5 additions & 5 deletions trunk/arch/x86/include/asm/cmpxchg_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@

#include <asm/alternative.h> /* Provides LOCK_PREFIX */

static inline void set_64bit(volatile u64 *ptr, u64 val)
{
*ptr = val;
}

extern void __xchg_wrong_size(void);
extern void __cmpxchg_wrong_size(void);

Expand Down Expand Up @@ -66,6 +61,11 @@ extern void __cmpxchg_wrong_size(void);
#define xchg(ptr, v) \
__xchg((v), (ptr), sizeof(*ptr))

static inline void set_64bit(volatile u64 *ptr, u64 val)
{
*ptr = val;
}

#define __HAVE_ARCH_CMPXCHG 1

/*
Expand Down

0 comments on commit 7e8dd65

Please sign in to comment.