lkml.org 
[lkml]   [2001]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[patch] 2.4.6-pre4 unresolved symbol do_softirq
Date
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/

\
 
 \ /
  Last update: 2005-03-22 12:55    [W:0.037 / U:2.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site