Reorganizing interrupt_install_handler()