Skip to content

Commit ae62ae7

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/um/kernel/um_arch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ static void __init parse_cache_line(char *line)
289289
}
290290
}
291291

292-
static unsigned long get_top_address(char **envp)
292+
static unsigned long __init get_top_address(char **envp)
293293
{
294294
unsigned long top_addr = (unsigned long) &top_addr;
295295
int i;

0 commit comments

Comments
 (0)