Skip to content

Commit

Permalink
include/asm-x86/edac.h: checkpatch cleanups - formatting only
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Joe Perches authored and Ingo Molnar committed Apr 17, 2008
1 parent 86bbc83 commit 451dd98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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 451dd98

Please sign in to comment.