Skip to content

Commit f0c76bc

Browse files
btw616jmberg-intel
authored andcommitted
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>
1 parent ae62ae7 commit f0c76bc

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
@@ -25,7 +25,7 @@
2525

2626
long elf_aux_hwcap;
2727

28-
static void set_stklim(void)
28+
static void __init set_stklim(void)
2929
{
3030
struct rlimit lim;
3131

0 commit comments

Comments
 (0)