[patch] 2.4.6-pre4 unresolved symbol do_softirq

From: Keith Owens (kaos@ocs.com.au)
Date: Wed Jun 20 2001 - 20:55:15 EST


do_softirq is called from asm code which does not get preprocessed.
The label needs to be exposed so cpp can see it.

Against 2.4.6-pre4.

Index: 6-pre4.1/include/asm-i386/softirq.h
--- 6-pre4.1/include/asm-i386/softirq.h Sat, 09 Jun 2001 11:25:53 +1000 kaos (linux-2.4/T/51_softirq.h 1.3 644)
+++ 6-pre4.1(w)/include/asm-i386/softirq.h Thu, 21 Jun 2001 11:52:34 +1000 kaos (linux-2.4/T/51_softirq.h 1.3 644)
@@ -36,13 +36,13 @@ do { \
                                                                         \
                         ".section .text.lock,\"ax\";" \
                         "2: pushl %%eax; pushl %%ecx; pushl %%edx;" \
- "call do_softirq;" \
+ "call %c1;" \
                         "popl %%edx; popl %%ecx; popl %%eax;" \
                         "jmp 1b;" \
                         ".previous;" \
                                                                         \
                 : /* no output */ \
- : "r" (ptr) \
+ : "r" (ptr), "i" (do_softirq) \
                 /* no registers clobbered */ ); \
 } while (0)
 

-
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/



This archive was generated by hypermail 2b29 : Sat Jun 23 2001 - 21:00:30 EST