Kernel: Remove stack size check for keyboard layout initialization

Keyboard layout loading can take around 1 KB of stack for i686 target
This commit is contained in:
2024-04-22 21:10:04 +03:00
parent 7480e71801
commit 26922ebb51

View File

@@ -273,6 +273,8 @@ namespace Kernel::Input
return {};
}
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstack-usage="
static BAN::ErrorOr<void> initialize_name_to_key()
{
ASSERT(s_name_to_key.empty());
@@ -431,5 +433,6 @@ namespace Kernel::Input
TRY(s_name_to_key.insert("Z"sv, Key::Z));
return {};
}
#pragma GCC diagnostic pop
}