Got rid of two instructions

This commit is contained in:
Erin 2022-05-20 17:15:18 +02:00 committed by ondra05
parent 8be1f2410e
commit 9e629fb83f

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