]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - init/main.c
Merge remote-tracking branch 'tip/auto-latest'
[karo-tx-linux.git] / init / main.c
index 379090fadac9a1652aa9f095db2bf6ef49ddc763..dad19cf42dbaa0f088516355e3a359d99821d249 100644 (file)
@@ -136,6 +136,13 @@ static char *static_command_line;
 static char *execute_command;
 static char *ramdisk_execute_command;
 
+/*
+ * Used to generate warnings if static_key manipulation functions are used
+ * before jump_label_init is called.
+ */
+bool static_key_initialized __read_mostly = false;
+EXPORT_SYMBOL_GPL(static_key_initialized);
+
 /*
  * If set, this is an indication to the drivers that reset the underlying
  * device before going ahead with the initialization otherwise driver might