Results 1 to 1 of 1
Hi all,
Can anybody provide me some functions to disable all interrupts before critical section and to enable all interrupts after critical section..
I have used cli(); and Sti() functions ...
- 08-06-2008 #1Just Joined!
- Join Date
- Aug 2008
- Posts
- 1
how to Disable Interrupts in Linux 2.4
Hi all,
Can anybody provide me some functions to disable all interrupts before critical section and to enable all interrupts after critical section..
I have used cli(); and Sti() functions ..but when i tried to insert the kernel module got the output as shown below...
#insmod ./a.o
insmod: unresolved symbol __sti
insmod: unresolved symbol unregister_chrdev
insmod: unresolved symbol register_chrdev
insmod: unresolved symbol printk
insmod: unresolved symbol __cli
I know that loacl_irq_save(); and local_irq_restore() are for linux 2.6....
Any help could be appreciated...
Thanks,
reddy


Reply With Quote
