We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a737c00 commit cc2434fCopy full SHA for cc2434f
init/main.c
@@ -930,6 +930,10 @@ asmlinkage __visible void __init __no_sanitize_address start_kernel(void)
930
char *command_line;
931
char *after_dashes;
932
933
+#ifdef CONFIG_X86
934
+ outb(0x40, 0x80);
935
+#endif
936
+
937
set_task_stack_end_magic(&init_task);
938
smp_setup_processor_id();
939
debug_objects_early_init();
@@ -1521,6 +1525,10 @@ static int __ref kernel_init(void *unused)
1521
1525
1522
1526
do_sysctl_args();
1523
1527
1528
1529
+ outb(0x41, 0x80);
1530
1531
1524
1532
if (ramdisk_execute_command) {
1533
ret = run_init_process(ramdisk_execute_command);
1534
if (!ret)
0 commit comments