mirror of
https://github.com/torvalds/linux.git
synced 2026-05-22 22:22:08 +02:00
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:
parent
70240b5d1f
commit
bcd89fd8f5
|
|
@ -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, ":");
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user