Skip to contentSkip to conversation

2.4.6-pre4 unresolved symbol do_softirq

PATCH New Keith Owens 1 participant 1 message Jun 21, 2001

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 2.4.6-pre4 unresolved symbol do_softirq

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

include/asm-i386/softirq.h Thu, 21 Jun 2001 11:52:34 +1000 kaos (linux-2.4/T/51_softirq.h 1.3 644) renamed from include/asm-i386/softirq.h Sat, 09 Jun 2001 11:25:53 +1000 kaos (linux-2.4/T/51_softirq.h 1.3 644) +2 -2
@@ -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)