RE: Hi all reply plzzzz.....

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
Sent: Wednesday, January 23, 2008 10:50 AM
To: kernelnewbies@xxxxxxxxxxxx
Subject: Hi all reply plzzzz.....

 

Hi,

 

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

 

Thank you,

vasant.


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux