lkml.org 
[lkml]   [1999]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectisdn_audio_tlookup x86 bug
The isdn_audio_tlookup function (in both the CVS version and the
old version included in the kernel) doesn't compile with recent egcs/pgcc
versions because of an illegal register spill:

__asm__("cld\n"
"1:\tlodsb\n\t"
"xlatb\n\t"
"stosb\n\t"
"loop 1b\n\t"
: : "b"((long) table), "c"(n), "D"((long) buff), "S"((long) buff)
^
: "bx", "cx", "di", "si", "ax");
^^

Since there's a C version of the statement, as well (used on non-x86), I'd
recommend to change

#if ((CPU == 386) || (CPU == 486) || (CPU == 586))

in isdn_audio.c to

#if 0

until someone fixes the asm.

LLaP
bero

--
Windows 98 supports real multitasking - it can boot and crash simultaneously.
***
Anyone sending unwanted advertising e-mail to this address will be charged
$25 for network traffic and computing time. By extracting my address from
this message or its header, you agree to these terms.



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

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