Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 88944
b: refs/heads/master
c: 451dd98
h: refs/heads/master
v: v3
  • Loading branch information
Joe Perches authored and Ingo Molnar committed Apr 17, 2008
1 parent 2b4508c commit 59f353a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 86bbc83526a4543db0a4ffed8e4cf679eddd534c
refs/heads/master: 451dd9835898d4cc3c0ee8f9e4883807b760eb02
4 changes: 2 additions & 2 deletions trunk/include/asm-x86/edac.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

/* ECC atomic, DMA, SMP and interrupt safe scrub function */

static __inline__ void atomic_scrub(void *va, u32 size)
static inline void atomic_scrub(void *va, u32 size)
{
u32 i, *virt_addr = va;

Expand All @@ -12,7 +12,7 @@ static __inline__ void atomic_scrub(void *va, u32 size)
* are interrupt, DMA and SMP safe.
*/
for (i = 0; i < size / 4; i++, virt_addr++)
__asm__ __volatile__("lock; addl $0, %0"::"m"(*virt_addr));
asm volatile("lock; addl $0, %0"::"m" (*virt_addr));
}

#endif

0 comments on commit 59f353a

Please sign in to comment.