Skip to content

Commit 0c5258e

Browse files
btw616jmberg-intel
authored andcommitted
um: Mark setup_env_path as __init
It's only invoked during boot from main(). Signed-off-by: Tiwei Bie <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Johannes Berg <[email protected]>
1 parent c2fdfd7 commit 0c5258e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/um/os-Linux/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ static void __init install_fatal_handler(int sig)
7373

7474
#define UML_LIB_PATH ":" OS_LIB_PATH "/uml"
7575

76-
static void setup_env_path(void)
76+
static void __init setup_env_path(void)
7777
{
7878
char *new_path = NULL;
7979
char *old_path = NULL;

0 commit comments

Comments
 (0)