On 11:05 Fri 31 Aug , Will Simoneau wrote:as ks, up 7. Apparently some VESA BIOS implementations clobber our registers when called. Tell gcc about it. This makes my Dell Inspiron 5150 boot correctly instead of hanging. Signed-off-by: Will Simoneau <simoneau@ele.uri.edu> --- --- linux-2.6/arch/i386/boot/video-vesa.c.old 2007-08-31 11:51:40.478575122= -0400 +++ linux-2.6/arch/i386/boot/video-vesa.c 2007-08-31 11:51:10.980602450 -04= 00 @@ -39,9 +39,11 @@ =20 vginfo.signature =3D VBE2_MAGIC; =20 - /* Optimistically assume a VESA BIOS is register-clean... */ ax =3D 0x4f00; - asm("int $0x10" : "+a" (ax), "=3Dm" (vginfo) : "D" (&vginfo)); + asm("int $0x10" + : "+a" (ax), "=3Dm" (vginfo) + : "D" (&vginfo) + : "ebx", "ecx", "edx", "esi"); =20 if (ax !=3D 0x004f || vginfo.signature !=3D VESA_MAGIC || @@ -66,7 +68,8 @@ ax =3D 0x4f01; asm("int $0x10" : "+a" (ax), "=3Dm" (vminfo) - : "c" (mode), "D" (&vminfo)); + : "c" (mode), "D" (&vminfo) + : "ebx", "edx", "esi"); =20 if (ax !=3D 0x004f) continue;
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg Kroah-Hartman | [PATCH 004/196] Chinese: add translation of SubmittingPatches |
| Artem Bityutskiy | [PATCH 18/44 take 2] [UBI] build unit implementation |
| James Morris | Re: LSM conversion to static interface |
git: | |
| Paul Jackson | [PATCH] cpuset sched_load_balance kmalloc fix |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Linus Torvalds | Re: [GIT]: Networking |
