--- prasanna wakhare <prasannawakhare@yahoo.com> wrote: > Hi all, > I'm using irq_decs[NR_IRQS] directly in my module > which is define in linux/irq.h file as > extern irq_desc_t irq_desc > > can't we used this directly in module for used > like > irq_desc[n]=my_handler > instead of making some request and registering > handlers, > especially requires when one wants to do some work > with > by replacing handler say irq0 which is used by timer > for some time, > this requires in pcsp and even for stepper motor > to triggering interrupt at irq0 > > but my module is not working > it's saying > unresolved symbol irq_desc You should not try to manipulate irq_desc directly. There are a lot of checks/flag handling that request_irq() does before it manipulates irq_desc table. You should only access it using these functions. And since it is not exported, you will anyway get the unresolved symbol error. ===== Regards, Kiran Kumar Immidi __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/