summaryrefslogtreecommitdiffstats
path: root/kernel/kallsyms.c
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.com>2022-01-14 13:36:32 +0100
committerPetr Mladek <pmladek@suse.com>2022-01-14 13:36:32 +0100
commitb2dfc3fe73b5b305b13467e39386f77133590ea8 (patch)
treec4baf776a8f08de509a57a4f8f62daa1cd9531ac /kernel/kallsyms.c
parent50a0f3f55e382b313e7cbebdf8ccf1593296e16f (diff)
parentf5bdb34bf0c9314548f2d8e2360b703ff3610303 (diff)
downloadlinux-stable-b2dfc3fe73b5b305b13467e39386f77133590ea8.tar.gz
linux-stable-b2dfc3fe73b5b305b13467e39386f77133590ea8.tar.bz2
linux-stable-b2dfc3fe73b5b305b13467e39386f77133590ea8.zip
Merge branch 'for-5.17/kallsyms' into for-linus
Diffstat (limited to 'kernel/kallsyms.c')
-rw-r--r--kernel/kallsyms.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/kallsyms.c b/kernel/kallsyms.c
index 0ba87982d017..2a9afe484aec 100644
--- a/kernel/kallsyms.c
+++ b/kernel/kallsyms.c
@@ -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;
}