提交 451dd983 编写于 作者: J Joe Perches 提交者: Ingo Molnar

include/asm-x86/edac.h: checkpatch cleanups - formatting only

Signed-off-by: NJoe Perches <joe@perches.com>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 86bbc835
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
/* ECC atomic, DMA, SMP and interrupt safe scrub function */ /* 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; u32 i, *virt_addr = va;
...@@ -12,7 +12,7 @@ static __inline__ void atomic_scrub(void *va, u32 size) ...@@ -12,7 +12,7 @@ static __inline__ void atomic_scrub(void *va, u32 size)
* are interrupt, DMA and SMP safe. * are interrupt, DMA and SMP safe.
*/ */
for (i = 0; i < size / 4; i++, virt_addr++) 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 #endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册