]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/tty/n_tty.c
Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[karo-tx-linux.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) {