]> Pileus Git - ~andy/linux/blobdiff - arch/x86/kernel/mce_64.c
Remove workaround for unimmunized rcu_dereference from mce_log()
[~andy/linux] / arch / x86 / kernel / mce_64.c
index a66d607f5b924e09d864120d1d656c3e1a1c2da0..97d2b757d6bdc0f48724fa230bec98e91042f0c7 100644 (file)
@@ -76,9 +76,6 @@ void mce_log(struct mce *mce)
        wmb();
        for (;;) {
                entry = rcu_dereference(mcelog.next);
-               /* The rmb forces the compiler to reload next in each
-                   iteration */
-               rmb();
                for (;;) {
                        /* When the buffer fills up discard new entries. Assume
                           that the earlier errors are the more interesting. */