This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / arch / x86_64 / kernel / mce.c
index 5da150b..c771dc8 100644 (file)
@@ -361,7 +361,8 @@ static ssize_t mce_read(struct file *filp, char __user *ubuf, size_t usize, loff
 
        memset(mcelog.entry, 0, next * sizeof(struct mce));
        mcelog.next = 0;
-
+       smp_wmb(); 
+       
        synchronize_kernel();   
 
        /* Collect entries that were still getting written before the synchronize. */