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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of vasant j
Sent: Wednesday, January 23, 2008 10:50 AM
To: kernelnewbies@nl.linux.org
Subject: Hi all reply plzzzz.....

 

Hi,

 

          How can we disable all interrupts in Linux.....(any command
for that!).

 

Thank you,

vasant.

Reply via email to