]> err.no Git - linux-2.6/commitdiff
include/asm-x86/edac.h: checkpatch cleanups - formatting only
authorJoe Perches <joe@perches.com>
Sun, 23 Mar 2008 08:02:06 +0000 (01:02 -0700)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:41:23 +0000 (17:41 +0200)
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/asm-x86/edac.h

index cf3200a745ad7b41e6925fb8ab5c7704cfb71fb3..a8088f63a30e4a58cfd50dde612e7da94843b3d0 100644 (file)
@@ -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;
 
@@ -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