Re: 2.6.9-rc1-mm4 : typo in include/linux/hardirq.h ?

From: Christian Kujau
Date: Sat Sep 11 2004 - 07:13:50 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Eric Leblond wrote:
> Hi,
>
> On my i386 computer, at line 5 of include/linux/hardirq.h we can read :
> #ifdef CONFIG_PREEPT
> It seems it should be
> #ifdef CONFIG_PREEMPT
>
> With this change, compilation of external driver like ndiswrapper works
> again.

you can fix it by yourself or apply this diff:

- --- include/linux/hardirq.h 2004-09-11 13:32:53.000000000 +0200
+++ include/linux/hardirq.h.edited 2004-09-11 14:07:28.000000000 +0200
@@ -2,7 +2,7 @@
#define LINUX_HARDIRQ_H

#include <linux/config.h>
- -#ifdef CONFIG_PREEPT
+#ifdef CONFIG_PREEMPT
#include <linux/smp_lock.h>
#endif
#include <asm/hardirq.h>
- --
BOFH excuse #262:

Our POP server was kidnapped by a weasel.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBQuud+A7rjkF8z0wRAvzRAJ9gNT1+hu98Fpsf3YukSmvgdIMYXQCfUWo6
NMbJ68B0aUpvh0MJ5wsrV5A=
=YFdG
-----END PGP SIGNATURE-----
-
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/