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 <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Johannes Berg <[email protected]>
1 parent 06e0e62 commit 70240b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)