Merge branch 'for-5.17/kallsyms' into for-linus
This commit is contained in:
commit
b2dfc3fe73
|
@ -223,6 +223,7 @@ int kallsyms_on_each_symbol(int (*fn)(void *, const char *, struct module *,
|
|||
ret = fn(data, namebuf, NULL, kallsyms_sym_address(i));
|
||||
if (ret != 0)
|
||||
return ret;
|
||||
cond_resched();
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -4462,6 +4462,8 @@ int module_kallsyms_on_each_symbol(int (*fn)(void *, const char *,
|
|||
mod, kallsyms_symbol_value(sym));
|
||||
if (ret != 0)
|
||||
goto out;
|
||||
|
||||
cond_resched();
|
||||
}
|
||||
}
|
||||
out:
|
||||
|
|
Loading…
Reference in New Issue