APM in Linux 2.1.x

Derrik (dpates@kalifornia.com)
Tue, 6 Oct 1998 21:50:09 -0700 (PDT)


The current APM driver in the latest Linux 2.1.x kernels is apparently
broken - at least, for sure, with GCC 2.8.1 and binutils 2.9.1.0.13. On
the 2.1.124 kernel I get this while compiling arch/i386/kernel/apm.c:

apm.c: In function `apm_get_event':
apm.c:474: fixed or forbidden register was spilled.
This may be due to a compiler bug or to impossible asm
statements or clauses.
cpp: output pipe has been closed

Is this a known issue, and is the code being worked on? It's been this way
for several versions now, since the last big change to the kernel APM
driver code. If there is a patch, I would appreciate receiving it and hope
that it goes inoto the kernel tree soon. Please make sure to reply to this
address if you reply - I'm not currently subscribed to linux-kernel (more
message volume than I can deal with, unfortunately). TIA.

Derrik Pates
dpates@kalifornia.com
dpates@acm.org

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