Skip to content

Commit 70240b5

Browse files
btw616jmberg-intel
authored andcommitted
um: Mark parse_host_cpu_flags 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-2-tiwei.btw@antgroup.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
1 parent 06e0e62 commit 70240b5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/um/kernel/um_arch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ EXPORT_SYMBOL(end_iomem);
264264

265265
#define MIN_VMALLOC (32 * 1024 * 1024)
266266

267-
static void parse_host_cpu_flags(char *line)
267+
static void __init parse_host_cpu_flags(char *line)
268268
{
269269
int i;
270270
for (i = 0; i < 32*NCAPINTS; i++) {

0 commit comments

Comments
 (0)