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>
This commit is contained in:
Tiwei Bie 2024-11-28 16:31:30 +08:00 committed by Johannes Berg
parent 70240b5d1f
commit bcd89fd8f5

View File

@ -272,7 +272,8 @@ static void __init parse_host_cpu_flags(char *line)
set_cpu_cap(&boot_cpu_data, i);
}
}
static void parse_cache_line(char *line)
static void __init parse_cache_line(char *line)
{
long res;
char *to_parse = strstr(line, ":");