diff options
author | Joe Perches <joe@perches.com> | 2008-03-23 04:02:06 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 11:41:23 -0400 |
commit | 451dd9835898d4cc3c0ee8f9e4883807b760eb02 (patch) | |
tree | 2d4456ad92682629b1c269c4abf4ca1b52e7cc08 /include/asm-x86/edac.h | |
parent | 86bbc83526a4543db0a4ffed8e4cf679eddd534c (diff) |
include/asm-x86/edac.h: checkpatch cleanups - formatting only
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/edac.h')
-rw-r--r-- | include/asm-x86/edac.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-x86/edac.h b/include/asm-x86/edac.h index cf3200a745ad..a8088f63a30e 100644 --- a/include/asm-x86/edac.h +++ b/include/asm-x86/edac.h | |||
@@ -3,7 +3,7 @@ | |||
3 | 3 | ||
4 | /* ECC atomic, DMA, SMP and interrupt safe scrub function */ | 4 | /* ECC atomic, DMA, SMP and interrupt safe scrub function */ |
5 | 5 | ||
6 | static __inline__ void atomic_scrub(void *va, u32 size) | 6 | static inline void atomic_scrub(void *va, u32 size) |
7 | { | 7 | { |
8 | u32 i, *virt_addr = va; | 8 | u32 i, *virt_addr = va; |
9 | 9 | ||
@@ -12,7 +12,7 @@ static __inline__ void atomic_scrub(void *va, u32 size) | |||
12 | * are interrupt, DMA and SMP safe. | 12 | * are interrupt, DMA and SMP safe. |
13 | */ | 13 | */ |
14 | for (i = 0; i < size / 4; i++, virt_addr++) | 14 | for (i = 0; i < size / 4; i++, virt_addr++) |
15 | __asm__ __volatile__("lock; addl $0, %0"::"m"(*virt_addr)); | 15 | asm volatile("lock; addl $0, %0"::"m" (*virt_addr)); |
16 | } | 16 | } |
17 | 17 | ||
18 | #endif | 18 | #endif |