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

From: Christian Kujau
Date: Sat Sep 11 2004 - 07:18:00 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 the attached diff (last mail was
scrambled by my MUA)

Christian.
- --
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

iD8DBQFBQux2+A7rjkF8z0wRAvGLAKC7OkQu1X7Lt7qsuQAG4Zn9Gs672gCgwKBM
4YjYQL/SpRSiHQS13GBjdc0=
=vz7P
-----END PGP SIGNATURE-----
--- 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>