Re: Compilation issue with spin_lock_bh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux