Got rid of two instructions

master
ondra05 2022-05-20 17:15:18 +02:00
parent a21f80c684
commit 146082c668
1 changed files with 0 additions and 2 deletions

View File

@ -74,9 +74,7 @@ extern "x86-interrupt" fn timer_interrupt_handler(_stack_frame: InterruptStackFr
unsafe {
asm!(
// Kernel tick
"push rax",
"call {tick}",
"pop rax",
// Push task's state onto stack
// and save task pointer into scheduler