In the 2.6 kernel, it
is no longer possible to globally disable interrupts. In particular, the cli(), sti(), save_flags(), and
restore_flags()
functions are no longer available. Disabling interrupts across all processors
in the system is simply no longer done. It is still possible
to disable all interrupts locally with local_save_flags() or local_irq_disable().
A single interrupt can be disabled globally with disable_irq() -- Regards, Gaurav Aggarwal From:
kernelnewbies-bounce@xxxxxxxxxxxx [mailto:kernelnewbies-bounce@xxxxxxxxxxxx] On Behalf Of vasant j Hi, How can we
disable all interrupts in Linux.....(any command for that!). Thank you, vasant. |