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:
parent
7480e71801
commit
26922ebb51
|
@ -273,6 +273,8 @@ namespace Kernel::Input
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Wstack-usage="
|
||||||
static BAN::ErrorOr<void> initialize_name_to_key()
|
static BAN::ErrorOr<void> initialize_name_to_key()
|
||||||
{
|
{
|
||||||
ASSERT(s_name_to_key.empty());
|
ASSERT(s_name_to_key.empty());
|
||||||
|
@ -431,5 +433,6 @@ namespace Kernel::Input
|
||||||
TRY(s_name_to_key.insert("Z"sv, Key::Z));
|
TRY(s_name_to_key.insert("Z"sv, Key::Z));
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue