Messages in this thread | | | Date | Sun, 27 Oct 1996 09:24:51 -0500 | From | Neil Moore <> | Subject | Re: sound |
| |
> > Hi, I try to compile kernel 2.1.5 (gcc-2.7.2,libc.so.5.3.12) with the last > driver ossfree37-beta4-linux, but I have the following message: > patmgr.c: in function 'pmgr_read': > patmgr.c:119: fixed or forbidden registerwas spilled. > This may be due to a compiler bug or to impossible asm statment or clauses. > ..... > Can someone tell me about this?
This patch came straight from Hannu (I think). Apply it only to ossfree-37-beta4-linux, not earlier versions:
*** patmgr.c.old Mon Oct 21 20:29:22 1996 --- patmgr.c Mon Oct 21 20:30:23 1996 *************** *** 104,110 **** if (mbox[dev] && msg_direction[dev] == A_TO_S) { ! copy_to_user (&(buf)[0], (char *) mbox[dev], count); msg_direction[dev] = 0; ok = 1; } --- 104,111 ---- if (mbox[dev] && msg_direction[dev] == A_TO_S) { ! char *tmp = (char *) mbox[dev]; ! copy_to_user (&(buf)[0], tmp, count); msg_direction[dev] = 0; ok = 1; }
-- Version: 3.12 GCS/M/L d- s-:+ a--- C+++(++)>$ UL+(++)>++++$ P+++ L+++>++++$ E++ W-(--) N++ o-- K-- w--- O- M-- V-- PS+++? PE Y+ PGP-- t+* 5- X R tv--? b+>+++ DI D--- G e-(*)>++++ h r++>+++ y?
| |