Merge branch 'tracing/ftrace' into tracing/core
This commit is contained in:
commit
ce181ebeff
1 changed files with 5 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue