Skip to content

Commit c2fdfd7

Browse files
btw616jmberg-intel
authored andcommitted
um: Mark install_fatal_handler as __init
It's only invoked during boot from main(). Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com> Link: https://patch.msgid.link/20241128083137.2219830-6-tiwei.btw@antgroup.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
1 parent f0c76bc commit c2fdfd7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/um/os-Linux/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ static void last_ditch_exit(int sig)
4848
exit(1);
4949
}
5050

51-
static void install_fatal_handler(int sig)
51+
static void __init install_fatal_handler(int sig)
5252
{
5353
struct sigaction action;
5454

0 commit comments

Comments
 (0)