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