Skip to content

Commit bcd89fd

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

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

arch/um/kernel/um_arch.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,8 @@ static void __init parse_host_cpu_flags(char *line)
272272
set_cpu_cap(&boot_cpu_data, i);
273273
}
274274
}
275-
static void parse_cache_line(char *line)
275+
276+
static void __init parse_cache_line(char *line)
276277
{
277278
long res;
278279
char *to_parse = strstr(line, ":");

0 commit comments

Comments
 (0)