mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 02:13:56 +09:00
Kernel: Mark PTYMultiplexer init & parse_hex_digit as UNMAP_AFTER_INIT
Noticed these boot only functions are not currently UNMAP_AFTER_INIT. Lets fix that :^)
This commit is contained in:
parent
4758dac218
commit
e88e4967d1
Notes:
sideshowbarker
2024-07-17 22:12:43 +09:00
Author: https://github.com/bgianfo
Commit: e88e4967d1
Pull-request: https://github.com/SerenityOS/serenity/pull/11396
Reviewed-by: https://github.com/IdanHo ✅
2 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ __attribute__((section(".kernel_symbols"))) char kernel_symbols[5 * MiB] {};
|
|||
static KernelSymbol* s_symbols;
|
||||
static size_t s_symbol_count = 0;
|
||||
|
||||
static u8 parse_hex_digit(char nibble)
|
||||
UNMAP_AFTER_INIT static u8 parse_hex_digit(char nibble)
|
||||
{
|
||||
if (nibble >= '0' && nibble <= '9')
|
||||
return nibble - '0';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue