mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 09:04:39 +02:00
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>
This commit is contained in:
parent
f0c76bc82d
commit
c2fdfd7797
|
|
@ -48,7 +48,7 @@ static void last_ditch_exit(int sig)
|
|||
exit(1);
|
||||
}
|
||||
|
||||
static void install_fatal_handler(int sig)
|
||||
static void __init install_fatal_handler(int sig)
|
||||
{
|
||||
struct sigaction action;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user