提交 2ba39451 编写于 作者: W wangkaifan

add sfence.vma in n_tty.c

上级 a2ee7cb2
......@@ -1900,7 +1900,9 @@ static int n_tty_open(struct tty_struct *tty)
if (!ldata)
return -ENOMEM;
__asm__ __volatile__ ("sfence.vma" : : : "memory");
ldata->overrun_time = jiffies;
__asm__ __volatile__ ("sfence.vma" : : : "memory");
mutex_init(&ldata->atomic_read_lock);
mutex_init(&ldata->output_lock);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册