RE: dkms build of aacraid fails for fedora?
[email protected] Tue, 2 Dec 2003 16:36:23 -0600
| Newsgroups | gmane.linux.drivers.aacraid.devel |
|---|---|
| Message-ID | <16E52145F803EF44BE0CAB504CEF34E7046B84D4@ausx2kmpc106.aus.amer.dell.com> |
> #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)) > # include <linux/interrupt.h> > #else > typedef void irqreturn_t; > # define IRQ_HANDLED > # define IRQ_NONE > #endif > > I deleted the typedef line in each file and ran dkms build and dkms > install without a hitch. The system rebooted cleanly. I'll keep my > fingers crossed :-) Right, this is fair to do, as include/linux/interrupt.h in the 2.4.22-1.2115.nptl kernel of Fedora Core 1 already has this typedef, as does at least kernel 2.4.23 stock from kernel.org (changed on August 1, 2003). It may have made it into 2.4.22 (I don't have a copy handy to look), in which case the version test should be changed to >= 2.4.22 also. Thanks, Matt -- Matt Domsch Sr. Software Engineer, Lead Engineer Dell Linux Solutions www.dell.com/linux Linux on Dell mailing lists @ http://lists.us.dell.com _______________________________________________ Linux-aacraid-devel mailing list [email protected] http://lists.us.dell.com/mailman/listinfo/linux-aacraid-devel Please read the FAQ at http://lists.us.dell.com/faq or search the list archives at http://lists.us.dell.com/htdig/