From 9a2ac25343f830f10d4aa05be247b885a99a8f53 Mon Sep 17 00:00:00 2001 From: Max Wash Date: Wed, 19 Jul 2023 19:02:00 +0100 Subject: [PATCH] x86_64: don't call early_vgacon_init() if fbcon kext is not compiled in --- arch/x86_64/init.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86_64/init.c b/arch/x86_64/init.c index b771a0f..d468293 100644 --- a/arch/x86_64/init.c +++ b/arch/x86_64/init.c @@ -107,7 +107,9 @@ int ml_init(uintptr_t arg) init_bootfb(mb); bootstrap_cpu_init(); +#ifdef KEXT_NET_DOORSTUCK_SOCKS_FBCON early_vgacon_init(); +#endif serialcon_init(115200); clock_calibrate(500);