Re: compile error about do_softirq in 2.4.5-ac21

Keith Owens (kaos@ocs.com.au)
Sat, 30 Jun 2001 14:19:38 +1000


On Sat, 30 Jun 2001 10:07:20 +0900 (KST),
Byeong-ryeol Kim <jinbo21@hananet.net> wrote:
>>>background.c:57: `do_softirq_Rf0a529b7' undeclared (first use in \
>>> this function)

Missing include in fs/jffs2/background.c. spin_unlock_bh() needs the
definition of do_softirq(). Against 2.4.5-ac21, will fit -ac22 as well.

Index: 5.52/fs/jffs2/background.c
--- 5.52/fs/jffs2/background.c Sun, 22 Apr 2001 07:25:55 +1000 kaos (linux-2.4/Z/d/7_background 1.1 644)
+++ 5.52(w)/fs/jffs2/background.c Sat, 30 Jun 2001 14:13:12 +1000 kaos (linux-2.4/Z/d/7_background 1.1 644)
@@ -43,6 +43,7 @@
#include <linux/jffs2.h>
#include <linux/mtd/mtd.h>
+#include <linux/interrupt.h>
#include <linux/smp_lock.h>
#include "nodelist.h"


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