all interrupt handling on the current processor with either of the following two func-
tions (which are defined in <asm/system.h>):
void local_irq_save(unsigned long flags);
void local_irq_disable(void);
A call to local_irq_save disables interrupt delivery on the current processor after sav-
ing the current interrupt state into flags. Note that flags is passed directly, not by
pointer. local_irq_disable shuts off local interrupt delivery without saving the state;
you should use this version only if you know that interrupts have not already been
disabled elsewhere.
On Mon, Nov 9, 2009 at 1:27 PM, J.H.Kim <frog1120@xxxxxxxxx> wrote:
Hi, everyone
I want to disable all terrupts including scheduler and
run only one program at some time.
I am goting to call device driver routine which includes
above function.
Whant command can I use in device driver routine?
Thanks in advance.
Best Regards,
J.Hwan Kim
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ