projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge commit '3cf2f34' into sched/core, to fix build error
[linux-2.6-block.git]
/
drivers
/
tty
/
n_tty.c
diff --git
a/drivers/tty/n_tty.c
b/drivers/tty/n_tty.c
index fe9d129c87351b47392320a626dedb89e2f0bf55..f95569dedc88b4b60a07428bfe70069b22f561e6 100644
(file)
--- a/
drivers/tty/n_tty.c
+++ b/
drivers/tty/n_tty.c
@@
-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) {