lkml.org 
[lkml]   [1996]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: BusLogic-1.2.2 / Linux 1.2.13 compile error
  Date: 	Wed, 24 Apr 96 21:27 CDT
From: jms@pobox.com

I've tried MANY kernel builds with different patch configurations. The
BusLogic 1.2.2 driver and the linux-elf patch seem to be mutually-exclusive.

The following additional patch should resolve this problem. I'll figure out
how to package this up tonight.

Leonard


--- linux/include/asm-i386/irq.h- Tue Mar 5 20:08:44 1996
+++ linux/include/asm-i386/irq.h Thu Apr 25 07:45:00 1996
@@ -168,21 +168,21 @@
asmlinkage void BAD_IRQ_NAME(nr); \
__asm__( \
"\n.align 4\n" \
-"_fast_IRQ" #nr "_interrupt:\n\t" \
-"_bad_IRQ" #nr "_interrupt:\n\t" \
-"_IRQ" #nr "_interrupt:\n\t" \
+"fast_IRQ" #nr "_interrupt:\n\t" \
+"bad_IRQ" #nr "_interrupt:\n\t" \
+"IRQ" #nr "_interrupt:\n\t" \
"pushl $-"#nr"-2\n\t" \
SAVE_ALL \
ACK_##chip(mask) \
- "incl _intr_count\n\t"\
+ "incl intr_count\n\t"\
"movl %esp,%ebx\n\t" \
"pushl %ebx\n\t" \
"pushl $" #nr "\n\t" \
- "call _do_IRQ\n\t" \
+ "call do_IRQ\n\t" \
"addl $8,%esp\n\t" \
"cli\n\t" \
UNBLK_##chip(mask) \
- "decl _intr_count\n\t" \
+ "decl intr_count\n\t" \
"jmp ret_from_sys_call\n");

#endif

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