Skip to content

Commit

Permalink
Kernel: Remove an unnecessary InterruptDisabler in early initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
awesomekling committed Feb 11, 2021
1 parent a280cdf commit abe4463
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Kernel/Process.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,6 @@ extern "C" void asm_signal_trampoline_end(void);

void create_signal_trampolines()
{
InterruptDisabler disabler;
// NOTE: We leak this region.
auto* trampoline_region = MM.allocate_user_accessible_kernel_region(PAGE_SIZE, "Signal trampolines", Region::Access::Read | Region::Access::Write | Region::Access::Execute, false).leak_ptr();
trampoline_region->set_syscall_region(true);
Expand Down

0 comments on commit abe4463

Please sign in to comment.