diff options
author | Tiwei Bie <tiwei.btw@antgroup.com> | 2024-11-28 16:31:32 +0800 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2025-01-10 13:49:56 +0100 |
commit | f0c76bc82d4544bde874497e830b2c9fa04bafe1 (patch) | |
tree | 592922c0f3e134383a59d2f31897e6af98e74561 | |
parent | ae62ae7994a0f453b1566d04ec090cf1bd534675 (diff) |
um: Mark set_stklim 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-5-tiwei.btw@antgroup.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
-rw-r--r-- | arch/um/os-Linux/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/os-Linux/main.c b/arch/um/os-Linux/main.c index 0afcdeb8995b..cf9697aa17f3 100644 --- a/arch/um/os-Linux/main.c +++ b/arch/um/os-Linux/main.c @@ -25,7 +25,7 @@ long elf_aux_hwcap; -static void set_stklim(void) +static void __init set_stklim(void) { struct rlimit lim; |