Move idt installing code into idt_install()