--- rahulrv@vsnl.net wrote: > > Hi, > I`m modifying a network device driver. It handles recieved packets > by generating interrupts and there is an interrupt handler > procedure within the driver. I need to call my own function within > this interrupt handler. Just calling the function does not seem to > work. Declaring my function inline does not help as the compiler > seems to find it too large to insert as inline. using a compiler > option to force expansion of inline functions is not allowed with > the other compilation options used for compilation of the driver. I > need to be able to call my function wihtin the interrupt handling > routine. > Thanx in advance, > ~Rahul AFAIK, there is nothing to prevent you from making a function call from within your interrupt handler, although, depending upon what you are doing, it may be considered rude. Consider scheduling a tasklet instead. There are some restrictions upon interrupt handlers; see http://www.xml.com/ldd/chapter/book/ch09.html#t4 Harmony, --Christine __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/