diff options
| author | Eric W. Biederman <ebiederm@xmission.com> | 2021-12-03 11:00:19 -0600 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-04-10 16:18:55 +0200 |
| commit | 2049935c523e16b8184f36505191eed6e6ffb6ad (patch) | |
| tree | 484eb80fbd933bf327d706b659eac427676f22df /tools/objtool | |
| parent | dd6663096680b8cfb77b707b54fc8a04f85f1a2f (diff) | |
| download | linux-2049935c523e16b8184f36505191eed6e6ffb6ad.tar.gz linux-2049935c523e16b8184f36505191eed6e6ffb6ad.tar.bz2 linux-2049935c523e16b8184f36505191eed6e6ffb6ad.zip | |
exit: Rename module_put_and_exit to module_put_and_kthread_exit
[ Upstream commit ca3574bd653aba234a4b31955f2778947403be16 ]
Update module_put_and_exit to call kthread_exit instead of do_exit.
Change the name to reflect this change in functionality. All of the
users of module_put_and_exit are causing the current kthread to exit
so this change makes it clear what is happening. There is no
functional change.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'tools/objtool')
| -rw-r--r-- | tools/objtool/check.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/objtool/check.c b/tools/objtool/check.c index f066837d8e1a..fd6714de2260 100644 --- a/tools/objtool/check.c +++ b/tools/objtool/check.c @@ -171,7 +171,7 @@ static bool __dead_end_function(struct objtool_file *file, struct symbol *func, "do_task_dead", "kthread_exit", "make_task_dead", - "__module_put_and_exit", + "__module_put_and_kthread_exit", "complete_and_exit", "__reiserfs_panic", "lbug_with_loc", |
