On Fri, Jan 13, 2006 at 09:01:59AM -0800, Sanjay Acharya wrote: > Yes I tried this too. Now I am getting the message, > include/linux/irq.h:84 error: 'NR_IRQ_VECTORS' undeclared here... Try it with: #include <linux/module.h> #include <linux/kernel.h> #include <linux/init.h> It most definitely should compile (I have a module that has those three and and linux/errno.h and it compiles flawlessly). Jeff. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/