Re: [PATCH]: cmpci 6.82 released

From: Willy Tarreau
Date: Sun May 02 2004 - 14:47:49 EST


Hi all,

I just happened to fail to compile cmpci-6.82 on 2.4.26 with SMP, because
of order of includes. Basically, interrupt.h references files which use
smp_processor_id() which references current, and this one is not declared
yet. This trivial patch fixes it, at least on 2.4.26.

Regards,
Willy

--- ./drivers/sound/cmpci.c.orig Sun May 2 21:20:42 2004
+++ ./drivers/sound/cmpci.c Sun May 2 21:20:52 2004
@@ -109,9 +109,9 @@
#include <linux/config.h>
#include <linux/module.h>
#include <linux/string.h>
-#include <linux/interrupt.h>
#include <linux/ioport.h>
#include <linux/sched.h>
+#include <linux/interrupt.h>
#include <linux/delay.h>
#include <linux/sound.h>
#include <linux/slab.h>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/