提交 ce181ebe 编写于 作者: I Ingo Molnar

Merge branch 'tracing/ftrace' into tracing/core

......@@ -133,15 +133,14 @@ void ftrace_nmi_exit(void)
static void wait_for_nmi(void)
{
int waited = 0;
if (!atomic_read(&in_nmi))
return;
while (atomic_read(&in_nmi)) {
waited = 1;
do {
cpu_relax();
}
} while(atomic_read(&in_nmi));
if (waited)
nmi_wait_count++;
nmi_wait_count++;
}
static int
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册