On 1/11/06, Gaurav Dhiman <gaurav4lkg@xxxxxxxxx> wrote: > On 1/11/06, Rajaram Suryanarayanan <rajaram_linux@xxxxxxxxx> wrote: > > Hi, > > > > I just learnt about local_irq_disable() function to disable the > > interrupts on the local processor. I wanted to see it working. For this I > > tried inserting local_irq_disable() call inside my kernel module and > > inserted it. > > After insertion of the module, I expected something to happen like I should > > not be able to use keyboard / mouse. > > But nothing happened. Can anybody pls let me know how to disable the > > interrupts and see it working ? Any sample code would be helpful ! > If you are working with 2.6, as per my knowledge there is no way to disable all interrupts across the entire system. Nauman > show your code. > > is ur system SMP (muti-processor) ? > > > > > Thanks, > > Rajaram. > > > > > > ________________________________ > > Yahoo! Photos > > Ring in the New Year with Photo Calendars. Add photos, events, holidays, > > whatever. > > > > > > > -- > - Gaurav > my blog: http://lkdp.blogspot.com/ > -- > > -- > Kernelnewbies: Help each other learn about the Linux kernel. > Archive: http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ > > -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/