In linux, there is a macro called in_interrupt which can tell if the kernel is running in interrupt(including hardware or software) or not because linux changes some flags when in or out of the interrupt. Is there any same facility in netbsd? Pls CC to this email address.