Merge commit '3cf2f34' into sched/core, to fix build error
[linux-2.6-block.git] / drivers / tty / n_tty.c
index fe9d129c87351b47392320a626dedb89e2f0bf55..f95569dedc88b4b60a07428bfe70069b22f561e6 100644 (file)
@@ -2041,7 +2041,7 @@ static int canon_copy_from_read_buf(struct tty_struct *tty,
 
        if (found)
                clear_bit(eol, ldata->read_flags);
-       smp_mb__after_clear_bit();
+       smp_mb__after_atomic();
        ldata->read_tail += c;
 
        if (found) {