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 <tiwei.btw@antgroup.com> Link: https://patch.msgid.link/20241128083137.2219830-3-tiwei.btw@antgroup.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
1 parent 70240b5 commit bcd89fd

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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)