Disable interrupts while switching address spaces.